Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009567, allocations: 93.62 kB / 17 MB, free: 6.121 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.00127/0.00127, allocations: 183 kB / 17.89 MB, free: 5.699 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.442/1.442, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 11.98 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001762/0.136, allocations: 1.259 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.1367, allocations: 403.6 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.1368, allocations: 0 / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.1373, allocations: 439.2 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1376, allocations: 235.6 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.138, allocations: 157.7 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1382, allocations: 127.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.1383, allocations: 8 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.841e-05/0.1384, allocations: 107.7 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1386, allocations: 163.7 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1386, allocations: 0 / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.1387, allocations: 19.98 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.1388, allocations: 83.75 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1389, allocations: 65.45 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1391, allocations: 171.7 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1391, allocations: 4 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1391, allocations: 4 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1391, allocations: 0 / 474.8 MB, free: 10.46 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.0006096/0.1397, allocations: 0.5835 MB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1397, allocations: 8.031 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1398, allocations: 39.53 kB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1401, allocations: 271.3 kB / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1401, allocations: 0 / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1401, allocations: 7.953 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1403, allocations: 57.62 kB / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1403, allocations: 3.938 kB / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1403, allocations: 0 / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1403, allocations: 3.984 kB / 475.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1404, allocations: 27.98 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1409, allocations: 384.8 kB / 476.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.141, allocations: 38.5 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.141, allocations: 12.92 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1411, allocations: 0 / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1411, allocations: 34.56 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 3.066e-06/0.1411, allocations: 4 kB / 476.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.1414, allocations: 109 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1414, allocations: 55.41 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.1422, allocations: 0.8574 MB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1422, allocations: 25.7 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1424, allocations: 228.2 kB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.1424, allocations: 3.906 kB / 477.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.1424, allocations: 0 / 477.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1426, allocations: 366.7 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.1426, allocations: 11.98 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.1427, allocations: 8 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.1427, allocations: 24.05 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1427, allocations: 0 / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001377/0.1429, allocations: 97.11 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1429, allocations: 4 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1429, allocations: 4 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1429, allocations: 0 / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.143, allocations: 8 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.143, allocations: 4.031 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.1431, allocations: 4 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1431, allocations: 3.984 kB / 478.1 MB, free: 6.988 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.1432, allocations: 214.2 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1433, allocations: 43.47 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.1435, allocations: 108.6 kB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1435, allocations: 8.016 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1435, allocations: 3.984 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1435, allocations: 4 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1438, allocations: 285.5 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1438, allocations: 0 / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1438, allocations: 7.984 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1439, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1439, allocations: 4 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1439, allocations: 0 / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1439, allocations: 3.938 kB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1441, allocations: 194.9 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.1442, allocations: 124.4 kB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1442, allocations: 0 / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.1443, allocations: 3.938 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1443, allocations: 7.984 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1443, allocations: 4.031 kB / 479.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005918/0.1449, allocations: 0.6472 MB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1449, allocations: 0 / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1452, allocations: 19.98 kB / 479.7 MB, free: 5.223 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007521/0.1459, allocations: 349 kB / 480.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1461, allocations: 23.98 kB / 480.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1461, allocations: 4 kB / 480.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.1461, allocations: 19.92 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1464, allocations: 22.08 kB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1474, allocations: 0.8095 MB / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1479, allocations: 0.8223 MB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.1479, allocations: 4.188 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.1479, allocations: 15.42 kB / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1479, allocations: 0 / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004027/0.152, allocations: 1.159 MB / 482.9 MB, free: 2.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches