Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008768/0.0008769, allocations: 176 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.367/1.367, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008278/0.0008278, allocations: 82.42 kB / 271.2 MB, free: 8.254 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.3439/0.3439, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 15.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002089/0.1079, allocations: 1.394 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1099, allocations: 1.325 MB / 493.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.11, allocations: 0 / 493.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1103, allocations: 35.83 kB / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1105, allocations: 43.83 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1108, allocations: 79.84 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.111, allocations: 79.7 kB / 493.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1112, allocations: 20.2 kB / 493.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1113, allocations: 35.84 kB / 493.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1115, allocations: 35.73 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1115, allocations: 4 kB / 493.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1117, allocations: 51.97 kB / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.1117, allocations: 15.92 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.1118, allocations: 53.55 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.112, allocations: 88.09 kB / 494.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.112, allocations: 0 / 494.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.112, allocations: 0 / 494.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.112, allocations: 0 / 494.1 MB, free: 7.371 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.0005215/0.1125, allocations: 407.1 kB / 494.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1126, allocations: 8.031 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.1126, allocations: 8.844 kB / 494.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1129, allocations: 208 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1129, allocations: 4.375 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1129, allocations: 4.125 kB / 494.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1131, allocations: 71.39 kB / 494.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1131, allocations: 3.938 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1132, allocations: 0 / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1132, allocations: 0 / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.1133, allocations: 23.98 kB / 494.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1136, allocations: 276.9 kB / 495.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1138, allocations: 62.66 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.1139, allocations: 28.73 kB / 495.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1139, allocations: 0 / 495.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1141, allocations: 67.38 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1141, allocations: 0 / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.1146, allocations: 177.4 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1147, allocations: 85.11 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1149, allocations: 149.8 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1149, allocations: 25.7 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.115, allocations: 100 kB / 495.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.115, allocations: 15.81 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.115, allocations: 4 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1151, allocations: 326.8 kB / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.1152, allocations: 19.98 kB / 496.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.1153, allocations: 46.56 kB / 496.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1154, allocations: 53.66 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1154, allocations: 0 / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1156, allocations: 109.4 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1156, allocations: 4 kB / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1156, allocations: 3.938 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1156, allocations: 4.062 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.1157, allocations: 19.98 kB / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1157, allocations: 0 / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.1158, allocations: 7.938 kB / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1158, allocations: 0 / 496.4 MB, free: 4.848 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.0001062/0.1159, allocations: 133.6 kB / 496.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.116, allocations: 11.89 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.116, allocations: 16.66 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.116, allocations: 0 / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.116, allocations: 4 kB / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.116, allocations: 3.938 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1164, allocations: 391.5 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1165, allocations: 0 / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1165, allocations: 8 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1165, allocations: 4 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1165, allocations: 7.938 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1165, allocations: 0 / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1165, allocations: 4.219 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1168, allocations: 196.3 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1168, allocations: 96.94 kB / 497.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1168, allocations: 3.938 kB / 497.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.1169, allocations: 8 kB / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.117, allocations: 15.92 kB / 497.2 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.117, allocations: 4 kB / 497.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.1171, allocations: 118.7 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1171, allocations: 0 / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.1174, allocations: 31.98 kB / 497.4 MB, free: 3.715 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.001071/0.1184, allocations: 0.4894 MB / 497.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1186, allocations: 59.91 kB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1186, allocations: 0 / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.1187, allocations: 24 kB / 498 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1191, allocations: 28.09 kB / 498 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.1195, allocations: 236 kB / 498.2 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1198, allocations: 0.7043 MB / 498.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.1199, allocations: 19.38 kB / 498.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1199, allocations: 0 / 498.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of Templates: time 0.004017/0.1239, allocations: 2.029 MB / 0.4892 GB, free: 120 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches