Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 101.5 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3173/0.3173, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009781/0.0009782, allocations: 59.91 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1116, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003081/0.1147, allocations: 1.617 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1163, allocations: 0.9142 MB / 489.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.1164, allocations: 0 / 489.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1167, allocations: 19.92 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1169, allocations: 43.84 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1172, allocations: 59.92 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1174, allocations: 47.84 kB / 489.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1175, allocations: 15.98 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.1176, allocations: 23.84 kB / 489.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1177, allocations: 19.92 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.1178, allocations: 4 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1179, allocations: 59.84 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1179, allocations: 11.98 kB / 489.8 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.118, allocations: 15.88 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1182, allocations: 87.98 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1182, allocations: 0 / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1182, allocations: 0 / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1182, allocations: 4 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005117/0.1187, allocations: 379.2 kB / 490.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1188, allocations: 8.031 kB / 490.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.1188, allocations: 12.94 kB / 490.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1191, allocations: 184.2 kB / 490.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1191, allocations: 8.312 kB / 490.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1191, allocations: 4.281 kB / 490.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1193, allocations: 63.53 kB / 490.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1193, allocations: 3.984 kB / 490.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1193, allocations: 7.938 kB / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1193, allocations: 0 / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.1194, allocations: 27.97 kB / 490.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1198, allocations: 268.9 kB / 490.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.12, allocations: 42.55 kB / 490.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1201, allocations: 12.86 kB / 490.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1201, allocations: 4 kB / 490.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1201, allocations: 38.56 kB / 491 MB, free: 8.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1201, allocations: 0 / 491 MB, free: 8.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005077/0.1206, allocations: 129.5 kB / 491.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1207, allocations: 77.11 kB / 491.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1209, allocations: 137.8 kB / 491.3 MB, free: 8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1209, allocations: 29.7 kB / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1209, allocations: 104 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.121, allocations: 7.812 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.121, allocations: 17.72 kB / 491.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1211, allocations: 326.8 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.1212, allocations: 11.98 kB / 491.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.1213, allocations: 45.7 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1214, allocations: 44.83 kB / 491.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1214, allocations: 0 / 491.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001759/0.1216, allocations: 77.58 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1216, allocations: 4 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1217, allocations: 3.938 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1217, allocations: 0 / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.1217, allocations: 20.02 kB / 492 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1218, allocations: 3.938 kB / 492 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.1218, allocations: 7.984 kB / 492 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1218, allocations: 4 kB / 492 MB, free: 7.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.1219, allocations: 117.8 kB / 492.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.1219, allocations: 8 kB / 492.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.1222, allocations: 81.62 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1222, allocations: 8 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1222, allocations: 0 / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1222, allocations: 0 / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.1226, allocations: 350.6 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1226, allocations: 8.062 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.1227, allocations: 12 kB / 492.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1227, allocations: 0 / 492.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1227, allocations: 4 kB / 492.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1227, allocations: 7.922 kB / 492.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1227, allocations: 4 kB / 492.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.1232, allocations: 0.7433 MB / 493.3 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1233, allocations: 85.02 kB / 493.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1233, allocations: 4 kB / 493.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1234, allocations: 7.984 kB / 493.4 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1234, allocations: 0 / 493.4 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1234, allocations: 4 kB / 493.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.1235, allocations: 99.27 kB / 493.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1235, allocations: 0 / 493.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000332/0.1239, allocations: 31.92 kB / 493.6 MB, free: 5.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009155/0.1248, allocations: 453.5 kB / 494 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.125, allocations: 43.97 kB / 494.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.125, allocations: 0 / 494.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.1251, allocations: 23.98 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1254, allocations: 27.86 kB / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.1259, allocations: 286.1 kB / 494.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1262, allocations: 0.6848 MB / 495.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.088e-05/0.1263, allocations: 15.84 kB / 495.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.1263, allocations: 15.44 kB / 495.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1263, allocations: 0 / 495.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of Templates: time 0.004095/0.1304, allocations: 1.326 MB / 496.4 MB, free: 2.684 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches