Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 174.1 kB / 16.72 MB, free: 5.082 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.377/1.377, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007997/0.0007999, allocations: 96.66 kB / 271.2 MB, free: 8.242 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.3178/0.3178, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1187, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001989/0.1208, allocations: 1.475 MB / 492.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.122, allocations: 0.8201 MB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.1221, allocations: 4 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.1225, allocations: 291.4 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1228, allocations: 203.5 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1231, allocations: 119.7 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.1234, allocations: 211.4 kB / 493.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.1234, allocations: 17.53 kB / 494 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1236, allocations: 111.6 kB / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1238, allocations: 171.5 kB / 494.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1238, allocations: 4 kB / 494.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.1239, allocations: 28 kB / 494.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.124, allocations: 135.6 kB / 494.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1242, allocations: 164.6 kB / 494.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1245, allocations: 267.8 kB / 494.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1245, allocations: 8 kB / 494.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1245, allocations: 0 / 494.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1245, allocations: 4 kB / 494.8 MB, free: 6.855 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008088/0.1253, allocations: 0.6688 MB / 495.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1253, allocations: 8.031 kB / 495.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.1254, allocations: 48.28 kB / 495.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1259, allocations: 443.9 kB / 496 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.126, allocations: 4.359 kB / 496 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.126, allocations: 16.12 kB / 496 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1262, allocations: 79.38 kB / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1262, allocations: 0 / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1262, allocations: 0 / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1262, allocations: 7.984 kB / 496.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1263, allocations: 31.92 kB / 496.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1267, allocations: 378.3 kB / 496.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1269, allocations: 105.2 kB / 496.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.127, allocations: 49.56 kB / 496.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1271, allocations: 4 kB / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1273, allocations: 105 kB / 496.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.1273, allocations: 0 / 496.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004384/0.1277, allocations: 200.9 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1278, allocations: 77.11 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.1288, allocations: 1.042 MB / 498.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1288, allocations: 29.7 kB / 498.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.129, allocations: 236 kB / 498.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.129, allocations: 23.66 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.129, allocations: 8 kB / 498.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1292, allocations: 362.8 kB / 498.7 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1292, allocations: 27.98 kB / 498.7 MB, free: 2.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.1293, allocations: 67.41 kB / 498.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1295, allocations: 83.36 kB / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1295, allocations: 0 / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002624/0.1298, allocations: 169.4 kB / 499 MB, free: 2.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1298, allocations: 15.5 kB / 499.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1298, allocations: 0 / 499.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1299, allocations: 4 kB / 499.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.13, allocations: 23.92 kB / 499.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.13, allocations: 0 / 499.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.1301, allocations: 16.06 kB / 499.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1301, allocations: 4 kB / 499.1 MB, free: 2.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.0001943/0.1303, allocations: 241.4 kB / 499.3 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.1304, allocations: 51.34 kB / 499.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.1304, allocations: 64 kB / 499.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1304, allocations: 0 / 499.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1305, allocations: 0 / 499.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1305, allocations: 7.984 kB / 499.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.1307, allocations: 337.4 kB / 499.8 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1307, allocations: 4 kB / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1308, allocations: 7.984 kB / 499.8 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1308, allocations: 0 / 499.8 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1308, allocations: 4 kB / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1308, allocations: 4 kB / 499.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1308, allocations: 3.938 kB / 499.8 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.1311, allocations: 201.2 kB / 0.4883 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1312, allocations: 148.4 kB / 0.4884 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1313, allocations: 0 / 0.4884 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1314, allocations: 15.92 kB / 0.4885 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.1314, allocations: 8 kB / 0.4885 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1315, allocations: 7.984 kB / 0.4885 GB, free: 1.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006983/0.1322, allocations: 0.7721 MB / 0.4892 GB, free: 348 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1322, allocations: 0 / 0.4892 GB, free: 348 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.1324, allocations: 44 kB / 0.4893 GB, free: 304 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.2034/0.3358, allocations: 409.4 kB / 0.4897 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.3363, allocations: 78.73 kB / 0.4897 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3363, allocations: 0 / 0.4897 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3364, allocations: 43.28 kB / 0.4898 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.337, allocations: 67.67 kB / 0.4898 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3385, allocations: 0.955 MB / 0.4908 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3389, allocations: 0.8424 MB / 0.4916 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.3389, allocations: 32.14 kB / 0.4916 GB, free: 42.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.474e-06/0.339, allocations: 0 / 0.4916 GB, free: 42.49 MB / 378.7 MB Notification: Performance of Templates: time 0.008467/0.3474, allocations: 4.973 MB / 0.4965 GB, free: 41.92 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches