Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 177.2 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.862/1.862, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007992/0.0007992, allocations: 81 kB / 270.9 MB, free: 8.359 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.4006/0.4006, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00192/0.1211, allocations: 1.394 MB / 491.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1222, allocations: 0.7384 MB / 492.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.1223, allocations: 4 kB / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1226, allocations: 99.67 kB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1228, allocations: 75.78 kB / 492.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1231, allocations: 79.84 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1232, allocations: 91.67 kB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.1233, allocations: 20.2 kB / 492.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.1234, allocations: 39.84 kB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.1235, allocations: 55.75 kB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1236, allocations: 4 kB / 492.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.1237, allocations: 39.98 kB / 492.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.1237, allocations: 15.92 kB / 492.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1237, allocations: 45.58 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1239, allocations: 92.08 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1239, allocations: 0 / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1239, allocations: 0 / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1239, allocations: 0 / 493 MB, free: 8.184 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.0005072/0.1244, allocations: 422.7 kB / 493.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1245, allocations: 8.031 kB / 493.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1245, allocations: 11.91 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1248, allocations: 223.4 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1248, allocations: 0 / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1248, allocations: 4 kB / 493.7 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.125, allocations: 53.67 kB / 493.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.125, allocations: 3.938 kB / 493.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.125, allocations: 0 / 493.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.125, allocations: 3.953 kB / 493.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1251, allocations: 27.98 kB / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1255, allocations: 281 kB / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1256, allocations: 62.61 kB / 494.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.1257, allocations: 20.84 kB / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1257, allocations: 4 kB / 494.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1259, allocations: 71.34 kB / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1259, allocations: 0 / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005143/0.1265, allocations: 181.1 kB / 494.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1265, allocations: 51.41 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1267, allocations: 242.2 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1267, allocations: 29.7 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.1268, allocations: 116 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1268, allocations: 27.67 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1269, allocations: 0 / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.127, allocations: 326.8 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.127, allocations: 15.98 kB / 495.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.1271, allocations: 41.64 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.1272, allocations: 28.06 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1272, allocations: 4 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.1274, allocations: 101.4 kB / 495.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1274, allocations: 11.98 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1274, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1274, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.1275, allocations: 12 kB / 495.4 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1275, allocations: 4 kB / 495.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1276, allocations: 4 kB / 495.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1276, allocations: 7.984 kB / 495.4 MB, free: 5.605 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.0001002/0.1277, allocations: 145.8 kB / 495.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1277, allocations: 19.75 kB / 495.5 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.1278, allocations: 17.41 kB / 495.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1278, allocations: 0 / 495.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1278, allocations: 0 / 495.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1278, allocations: 0 / 495.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.1282, allocations: 411.2 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1282, allocations: 0 / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1282, allocations: 8 kB / 496 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1283, allocations: 0 / 496 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1283, allocations: 8 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1283, allocations: 0 / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1283, allocations: 3.984 kB / 496 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1285, allocations: 208.2 kB / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1286, allocations: 96.88 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1286, allocations: 4 kB / 496.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1287, allocations: 3.984 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1287, allocations: 4 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1287, allocations: 8.375 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1289, allocations: 180.3 kB / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1289, allocations: 0 / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.1291, allocations: 27.98 kB / 496.5 MB, free: 4.379 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.000925/0.1301, allocations: 476.6 kB / 497 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1302, allocations: 51.92 kB / 497 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1303, allocations: 8.062 kB / 497 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.1303, allocations: 28.14 kB / 497 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1307, allocations: 31.89 kB / 497.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.1311, allocations: 320.3 kB / 497.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1314, allocations: 0.716 MB / 498.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1315, allocations: 19.42 kB / 498.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1315, allocations: 0 / 498.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003391/0.1349, allocations: 1.968 MB / 0.4884 GB, free: 0.7617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches