Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001599, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001174/0.001173, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004597, allocations: 20 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002924/0.1256, allocations: 1.576 MB / 491.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1276, allocations: 0.7617 MB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1278, allocations: 4 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1282, allocations: 35.77 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1285, allocations: 47.86 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.129, allocations: 87.78 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.1293, allocations: 87.77 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1295, allocations: 29.48 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1296, allocations: 47.77 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1297, allocations: 39.8 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1298, allocations: 0 / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1299, allocations: 31.92 kB / 493 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.13, allocations: 23.91 kB / 493 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.1301, allocations: 41.64 kB / 493 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1304, allocations: 104 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1304, allocations: 0 / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1304, allocations: 0 / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1304, allocations: 0 / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009355/0.1314, allocations: 460.4 kB / 493.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1314, allocations: 8.031 kB / 493.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.1315, allocations: 19.77 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.132, allocations: 218.8 kB / 493.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.132, allocations: 11.94 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.132, allocations: 8 kB / 493.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1324, allocations: 108.2 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1324, allocations: 0 / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.1325, allocations: 4 kB / 493.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1325, allocations: 4 kB / 494 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.1328, allocations: 55.86 kB / 494 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.1336, allocations: 0.5088 MB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.1341, allocations: 90.61 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.1341, allocations: 3.953 kB / 494.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.1345, allocations: 91.31 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 5.039e-06/0.1345, allocations: 3.984 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006335/0.1351, allocations: 149.4 kB / 494.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1352, allocations: 55.39 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.1355, allocations: 187.5 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1355, allocations: 29.7 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1357, allocations: 178.5 kB / 495.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1357, allocations: 31.64 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.1357, allocations: 0 / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1359, allocations: 314.8 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1361, allocations: 31.97 kB / 495.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1362, allocations: 64.28 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1364, allocations: 40.3 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1364, allocations: 0 / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004613/0.1369, allocations: 141.3 kB / 495.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.137, allocations: 8 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.137, allocations: 0 / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.137, allocations: 0 / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1372, allocations: 27.98 kB / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1372, allocations: 7.984 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1374, allocations: 7.938 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1374, allocations: 8.125 kB / 496 MB, free: 3.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001668/0.1376, allocations: 141.2 kB / 496.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1376, allocations: 19.7 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.1377, allocations: 17.41 kB / 496.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1377, allocations: 7.984 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1377, allocations: 0 / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1377, allocations: 0 / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.138, allocations: 201.6 kB / 496.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.138, allocations: 0 / 496.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1382, allocations: 16 kB / 496.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1382, allocations: 0 / 496.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1382, allocations: 11.94 kB / 496.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1382, allocations: 0 / 496.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1383, allocations: 0 / 496.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.1389, allocations: 188.9 kB / 496.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.139, allocations: 96.84 kB / 496.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1391, allocations: 7.938 kB / 496.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1392, allocations: 7.953 kB / 496.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.1393, allocations: 7.984 kB / 496.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1393, allocations: 4 kB / 496.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1395, allocations: 137.2 kB / 496.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1395, allocations: 192 / 496.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.1399, allocations: 32.06 kB / 496.8 MB, free: 2.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00132/0.1412, allocations: 414.1 kB / 497.2 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.1417, allocations: 83.89 kB / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1417, allocations: 0 / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.1419, allocations: 48.3 kB / 497.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1423, allocations: 39.05 kB / 497.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.1431, allocations: 319.6 kB / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1435, allocations: 0.7123 MB / 498.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1436, allocations: 23.36 kB / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1436, allocations: 0 / 498.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of Templates: time 0.006272/0.1499, allocations: 2.137 MB / 0.4889 GB, free: 14.58 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches