Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65.25 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003583/0.1383, allocations: 1.691 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.1392, allocations: 451.1 kB / 470.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.1393, allocations: 0 / 470.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.1399, allocations: 459.2 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.1402, allocations: 239.5 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.1407, allocations: 166.9 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.141, allocations: 163.7 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1411, allocations: 27.98 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1413, allocations: 115.6 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.1415, allocations: 199.6 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1415, allocations: 0 / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1417, allocations: 47.92 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1418, allocations: 87.69 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.1419, allocations: 107 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1422, allocations: 251.3 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1422, allocations: 3.984 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1422, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1422, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007277/0.143, allocations: 0.6401 MB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.143, allocations: 8.031 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.1431, allocations: 44.38 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1434, allocations: 296.2 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1434, allocations: 8.375 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1434, allocations: 4.375 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1436, allocations: 61.8 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1436, allocations: 4 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1437, allocations: 3.938 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1437, allocations: 3.938 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1438, allocations: 35.97 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.1443, allocations: 408.6 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1445, allocations: 50.59 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1445, allocations: 16.94 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1446, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1446, allocations: 34.56 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1446, allocations: 4 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009678/0.1456, allocations: 319.8 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1456, allocations: 59.28 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.1464, allocations: 0.8535 MB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1464, allocations: 29.7 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1465, allocations: 228 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1466, allocations: 27.59 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1466, allocations: 21.7 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1468, allocations: 358.8 kB / 475.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.1469, allocations: 35.97 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.147, allocations: 27.98 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1471, allocations: 80.8 kB / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1472, allocations: 0 / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002505/0.1474, allocations: 145.1 kB / 476.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1474, allocations: 4 kB / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1474, allocations: 0 / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1475, allocations: 0 / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.1476, allocations: 23.92 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1476, allocations: 7.938 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1476, allocations: 4 kB / 476.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1477, allocations: 0 / 476.3 MB, free: 6.832 MB / 350.1 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 (8): * Single equations (assignments): 8 * 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 0.0001791/0.1478, allocations: 218.3 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.1479, allocations: 43.44 kB / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.1482, allocations: 178.2 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1482, allocations: 3.938 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1482, allocations: 3.938 kB / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1483, allocations: 0 / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1489, allocations: 0.507 MB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1489, allocations: 15.86 kB / 477.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.149, allocations: 24.02 kB / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.149, allocations: 0 / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.149, allocations: 0 / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.149, allocations: 0 / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.149, allocations: 4 kB / 477.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1493, allocations: 247.7 kB / 477.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.1494, allocations: 124.5 kB / 477.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1494, allocations: 0 / 477.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1495, allocations: 4 kB / 477.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1496, allocations: 7.984 kB / 477.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1496, allocations: 4 kB / 477.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.1502, allocations: 0.6472 MB / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1502, allocations: 0 / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1504, allocations: 27.98 kB / 478.3 MB, free: 4.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001115/0.1516, allocations: 468.9 kB / 478.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1518, allocations: 79.88 kB / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1519, allocations: 4 kB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.152, allocations: 35.98 kB / 478.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1525, allocations: 29.89 kB / 478.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1541, allocations: 0.9112 MB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.1548, allocations: 0.8341 MB / 480.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1549, allocations: 24.7 kB / 480.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.1549, allocations: 11.44 kB / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1549, allocations: 0 / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Templates: time 0.006008/0.1609, allocations: 1.679 MB / 482.4 MB, free: 0.7383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches