Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 179.5 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.901/1.901, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007627/0.0007627, allocations: 102 kB / 270.9 MB, free: 8.352 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.3586/0.3586, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 20 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 58.85 MB / 490.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002043/0.1181, allocations: 1.401 MB / 491.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1193, allocations: 0.7345 MB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.1194, allocations: 0 / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1197, allocations: 55.8 kB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1199, allocations: 47.83 kB / 492.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1202, allocations: 71.84 kB / 492.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1203, allocations: 91.69 kB / 492.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.1204, allocations: 12.22 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.1205, allocations: 39.84 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.1206, allocations: 35.77 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1206, allocations: 3.938 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.1207, allocations: 36 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.1208, allocations: 27.91 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1208, allocations: 49.58 kB / 492.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.121, allocations: 100.1 kB / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.121, allocations: 0 / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.121, allocations: 0 / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.121, allocations: 0 / 492.9 MB, free: 8.246 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.0005761/0.1216, allocations: 422.7 kB / 493.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1217, allocations: 8.031 kB / 493.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1217, allocations: 19.75 kB / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.122, allocations: 219.7 kB / 493.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.122, allocations: 4 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.122, allocations: 4 kB / 493.6 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1222, allocations: 53.67 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1222, allocations: 3.938 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1222, allocations: 0 / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1222, allocations: 3.953 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.1223, allocations: 19.98 kB / 493.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1227, allocations: 292.9 kB / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1229, allocations: 62.67 kB / 494 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.123, allocations: 16.86 kB / 494.1 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.123, allocations: 0 / 494.1 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1232, allocations: 75.28 kB / 494.1 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1232, allocations: 4 kB / 494.1 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005534/0.1238, allocations: 188.9 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1238, allocations: 51.41 kB / 494.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1241, allocations: 275.8 kB / 494.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1241, allocations: 29.7 kB / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.1242, allocations: 112.1 kB / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1242, allocations: 27.64 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1242, allocations: 0 / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1244, allocations: 330.8 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1244, allocations: 23.98 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1245, allocations: 29.72 kB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.1246, allocations: 23.98 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1246, allocations: 192 / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1248, allocations: 109.5 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1248, allocations: 7.938 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1248, allocations: 4.031 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1249, allocations: 4 kB / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.125, allocations: 19.98 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.125, allocations: 0 / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.125, allocations: 4.375 kB / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1251, allocations: 4 kB / 495.3 MB, free: 5.613 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.0001527/0.1252, allocations: 141.8 kB / 495.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1252, allocations: 19.75 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1253, allocations: 21.41 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1253, allocations: 7.984 kB / 495.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1253, allocations: 4 kB / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1253, allocations: 0 / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.1258, allocations: 411.2 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1258, allocations: 0 / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1259, allocations: 8 kB / 495.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1259, allocations: 3.984 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1259, allocations: 8.031 kB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1259, allocations: 0 / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1259, allocations: 0 / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1262, allocations: 212.1 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1262, allocations: 96.88 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1263, allocations: 3.984 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1263, allocations: 8 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1264, allocations: 7.984 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1264, allocations: 0 / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1266, allocations: 204.2 kB / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1266, allocations: 0 / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.1268, allocations: 31.98 kB / 496.5 MB, free: 4.344 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.0009918/0.1278, allocations: 459.9 kB / 497 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.128, allocations: 63.91 kB / 497 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.128, allocations: 0 / 497 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1281, allocations: 23.94 kB / 497 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1285, allocations: 28.28 kB / 497.1 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.1291, allocations: 356.6 kB / 497.4 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1294, allocations: 0.7199 MB / 498.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1295, allocations: 19.44 kB / 498.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1295, allocations: 0 / 498.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of Templates: time 0.00446/0.1339, allocations: 2.034 MB / 0.4885 GB, free: 0.6484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches