Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 179.6 kB / 16.41 MB, free: 5.703 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.298/1.298, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007375/0.0007378, allocations: 93.11 kB / 270.9 MB, free: 8.355 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.3077/0.3077, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003654, allocations: 24 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 58.84 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002578/0.118, allocations: 1.39 MB / 491.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1197, allocations: 0.7383 MB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1199, allocations: 4 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1203, allocations: 43.83 kB / 492.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1206, allocations: 43.83 kB / 492.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.121, allocations: 71.84 kB / 492.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1212, allocations: 83.75 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1214, allocations: 16.16 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1215, allocations: 35.8 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1217, allocations: 35.83 kB / 492.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1217, allocations: 0 / 492.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1218, allocations: 32 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.1219, allocations: 19.92 kB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.122, allocations: 37.64 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1222, allocations: 92.08 kB / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1222, allocations: 0 / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1222, allocations: 0 / 492.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1223, allocations: 0 / 492.9 MB, free: 8.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006882/0.123, allocations: 406.8 kB / 493.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.123, allocations: 16.02 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1231, allocations: 7.906 kB / 493.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1234, allocations: 207.5 kB / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1235, allocations: 4 kB / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1235, allocations: 4 kB / 493.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.1237, allocations: 53.67 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1238, allocations: 3.906 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1238, allocations: 7.984 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1238, allocations: 7.953 kB / 493.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1239, allocations: 23.92 kB / 493.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1244, allocations: 280.9 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1246, allocations: 54.69 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.1247, allocations: 24.84 kB / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1248, allocations: 0 / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.125, allocations: 75.28 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.654e-06/0.125, allocations: 0 / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006286/0.1256, allocations: 169.2 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1257, allocations: 51.41 kB / 494.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.126, allocations: 204.7 kB / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.126, allocations: 29.7 kB / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1261, allocations: 104.1 kB / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1261, allocations: 23.7 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1261, allocations: 3.938 kB / 494.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1263, allocations: 322.8 kB / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.1264, allocations: 23.98 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.1265, allocations: 37.7 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.1266, allocations: 20 kB / 495 MB, free: 5.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1266, allocations: 0 / 495 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002691/0.1269, allocations: 109.4 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1269, allocations: 8 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1269, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1269, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1271, allocations: 15.94 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1271, allocations: 7.984 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.1272, allocations: 4.031 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1272, allocations: 4 kB / 495.1 MB, free: 5.812 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.1273, allocations: 133.8 kB / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1274, allocations: 11.86 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.1275, allocations: 13.41 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1275, allocations: 4 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1275, allocations: 0 / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1275, allocations: 0 / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1281, allocations: 403.2 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1281, allocations: 4 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1281, allocations: 4 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1282, allocations: 4 kB / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1282, allocations: 384 / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1282, allocations: 0 / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1282, allocations: 4 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1284, allocations: 204.3 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1285, allocations: 92.95 kB / 496 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1285, allocations: 8 kB / 496 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1286, allocations: 0 / 496 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1286, allocations: 7.984 kB / 496 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1286, allocations: 4 kB / 496 MB, free: 4.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1288, allocations: 156.9 kB / 496.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1288, allocations: 4 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.129, allocations: 27.91 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009306/0.13, allocations: 475.7 kB / 496.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1301, allocations: 63.91 kB / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1302, allocations: 0 / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.1302, allocations: 31.92 kB / 496.8 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1306, allocations: 19.98 kB / 496.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.131, allocations: 284.2 kB / 497.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1313, allocations: 0.7043 MB / 497.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1314, allocations: 19.42 kB / 497.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1314, allocations: 0 / 497.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of Templates: time 0.003638/0.135, allocations: 1.891 MB / 499.7 MB, free: 1.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches