Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001174/0.001174, allocations: 192 kB / 18.56 MB, free: 4.434 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.289/1.289, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.201/0.201, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.75 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003367/0.1274, allocations: 1.572 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.1283, allocations: 443.1 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.1284, allocations: 0 / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.129, allocations: 451.1 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.1294, allocations: 247.5 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.1298, allocations: 170.3 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1301, allocations: 163.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1302, allocations: 12.17 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1303, allocations: 115.7 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1306, allocations: 211.6 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1306, allocations: 4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.1307, allocations: 16 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1308, allocations: 83.62 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1309, allocations: 99.06 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1312, allocations: 239 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1312, allocations: 7.938 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1312, allocations: 0 / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1312, allocations: 0 / 473 MB, free: 10.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007002/0.1319, allocations: 0.633 MB / 473.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.132, allocations: 12.03 kB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.132, allocations: 40.38 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1323, allocations: 300.1 kB / 474 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1323, allocations: 4.312 kB / 474 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1323, allocations: 384 / 474 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1325, allocations: 73.55 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1326, allocations: 0 / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1326, allocations: 0 / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1326, allocations: 0 / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1327, allocations: 35.95 kB / 474.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1332, allocations: 392.8 kB / 474.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1333, allocations: 46.5 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.1334, allocations: 24.94 kB / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1334, allocations: 0 / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1335, allocations: 34.56 kB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1335, allocations: 0 / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003376/0.1338, allocations: 125.1 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1338, allocations: 55.41 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.1346, allocations: 0.8573 MB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1347, allocations: 25.7 kB / 475.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.1349, allocations: 212.1 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1349, allocations: 3.906 kB / 475.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1349, allocations: 17.72 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1351, allocations: 366.7 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.1352, allocations: 19.98 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.1352, allocations: 19.98 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1354, allocations: 36.83 kB / 476.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1354, allocations: 0 / 476.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001981/0.1356, allocations: 117.1 kB / 476.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1356, allocations: 4 kB / 476.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1356, allocations: 0 / 476.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1356, allocations: 0 / 476.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.1357, allocations: 15.92 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1357, allocations: 3.984 kB / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.1358, allocations: 7.938 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1358, allocations: 0 / 476.5 MB, free: 6.906 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 (3): * Single equations (assignments): 3 * 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.0001865/0.136, allocations: 221.7 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.1361, allocations: 43.44 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.1363, allocations: 124.9 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1363, allocations: 3.938 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1363, allocations: 3.984 kB / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1363, allocations: 0 / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1366, allocations: 285.5 kB / 477.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1366, allocations: 0 / 477.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.1367, allocations: 11.94 kB / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1367, allocations: 4 kB / 477.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1367, allocations: 4 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1367, allocations: 0 / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1367, allocations: 3.984 kB / 477.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.137, allocations: 203.4 kB / 477.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.137, allocations: 120.5 kB / 477.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1371, allocations: 0 / 477.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1371, allocations: 4 kB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1372, allocations: 4 kB / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1372, allocations: 0 / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005567/0.1378, allocations: 0.6511 MB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.138, allocations: 16 kB / 478.2 MB, free: 5.117 MB / 350.1 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 (3): * Single equations (assignments): 3 * 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.0007746/0.1388, allocations: 361.4 kB / 478.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.139, allocations: 35.97 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.139, allocations: 3.938 kB / 478.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1391, allocations: 27.98 kB / 478.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1395, allocations: 32.92 kB / 478.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.1405, allocations: 0.7795 MB / 479.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.1409, allocations: 0.8258 MB / 480.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.1409, allocations: 11.98 kB / 480.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.141, allocations: 19.42 kB / 480.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.141, allocations: 0 / 480.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Templates: time 0.004671/0.1456, allocations: 1.32 MB / 481.6 MB, free: 1.793 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches