Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001183/0.001184, allocations: 113.5 kB / 269.9 MB, free: 8.418 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.3151/0.3151, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1177, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003233/0.121, allocations: 1.645 MB / 488.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1226, allocations: 0.9297 MB / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1228, allocations: 0 / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1231, allocations: 19.92 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1233, allocations: 27.92 kB / 489.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1237, allocations: 95.81 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1238, allocations: 59.84 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.124, allocations: 24.42 kB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.124, allocations: 23.88 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.1247, allocations: 31.83 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1247, allocations: 8 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1249, allocations: 47.98 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1249, allocations: 15.92 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.125, allocations: 19.86 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1252, allocations: 103.6 kB / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1252, allocations: 0 / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1252, allocations: 0 / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1252, allocations: 0 / 490 MB, free: 9.477 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004875/0.1257, allocations: 391.2 kB / 490.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1258, allocations: 8.031 kB / 490.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1258, allocations: 12.84 kB / 490.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.126, allocations: 188.2 kB / 490.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.126, allocations: 8.375 kB / 490.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1261, allocations: 4.375 kB / 490.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1263, allocations: 96.05 kB / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1263, allocations: 0 / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1263, allocations: 0 / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1264, allocations: 4 kB / 490.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1265, allocations: 35.97 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.1271, allocations: 392.8 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.1275, allocations: 97.14 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.1276, allocations: 29.8 kB / 491.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1276, allocations: 0 / 491.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1276, allocations: 34.56 kB / 491.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.1276, allocations: 0 / 491.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008391/0.1285, allocations: 221.1 kB / 491.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.1286, allocations: 106.8 kB / 491.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1287, allocations: 141.6 kB / 491.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1288, allocations: 29.7 kB / 491.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.1289, allocations: 103.8 kB / 491.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1289, allocations: 35.53 kB / 491.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.1289, allocations: 29.72 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1291, allocations: 322.8 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.1292, allocations: 23.98 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1293, allocations: 62.48 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1295, allocations: 89.83 kB / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1295, allocations: 0 / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002276/0.1297, allocations: 121.5 kB / 492.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1297, allocations: 7.984 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1297, allocations: 0 / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1298, allocations: 4 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.1298, allocations: 19.98 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1299, allocations: 3.938 kB / 492.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1299, allocations: 4 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1299, allocations: 8 kB / 492.6 MB, free: 6.625 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001096/0.13, allocations: 129.8 kB / 492.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1301, allocations: 7.906 kB / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.1304, allocations: 145.8 kB / 492.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1304, allocations: 4 kB / 492.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1304, allocations: 7.875 kB / 492.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1305, allocations: 4 kB / 492.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.1311, allocations: 498.5 kB / 493.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1311, allocations: 0 / 493.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.1312, allocations: 19.94 kB / 493.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1312, allocations: 3.984 kB / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1312, allocations: 15.97 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1312, allocations: 3.938 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1312, allocations: 0 / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.1319, allocations: 0.884 MB / 494.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.132, allocations: 81.11 kB / 494.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.132, allocations: 3.984 kB / 494.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1321, allocations: 8 kB / 494.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.1322, allocations: 12.53 kB / 494.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1322, allocations: 4 kB / 494.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.702e-05/0.1323, allocations: 107.2 kB / 494.5 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 494.5 MB, free: 4.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.1327, allocations: 35.98 kB / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009592/0.1337, allocations: 450.3 kB / 495 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.134, allocations: 83.83 kB / 495.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.134, allocations: 4 kB / 495.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1341, allocations: 51.91 kB / 495.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1345, allocations: 15.98 kB / 495.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.1352, allocations: 384.3 kB / 495.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1355, allocations: 0.7004 MB / 496.2 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1356, allocations: 20.8 kB / 496.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.1356, allocations: 23.36 kB / 496.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1357, allocations: 4 kB / 496.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004146/0.1398, allocations: 1.494 MB / 497.8 MB, free: 1.273 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches