Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 199.6 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000724/0.000724, allocations: 97.62 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.178/0.178, allocations: 44.86 MB / 392 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 11.94 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09311, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001753/0.09491, allocations: 1.303 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.09567, allocations: 0.4914 MB / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.09573, allocations: 4 kB / 0.5171 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.09599, allocations: 111.7 kB / 0.5172 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.09621, allocations: 95.75 kB / 0.5173 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.09647, allocations: 94.83 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.09661, allocations: 71.81 kB / 0.5174 GB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.0967, allocations: 31.94 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.09676, allocations: 35.84 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.09687, allocations: 51.81 kB / 0.5176 GB, free: 476 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.09689, allocations: 4 kB / 0.5176 GB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.09697, allocations: 35.98 kB / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.09702, allocations: 27.91 kB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.09706, allocations: 33.64 kB / 0.5176 GB, free: 368 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09719, allocations: 79.89 kB / 0.5177 GB, free: 288 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.09721, allocations: 4 kB / 0.5177 GB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.09722, allocations: 4 kB / 0.5177 GB, free: 280 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.09722, allocations: 0 / 0.5177 GB, free: 280 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1785/0.2758, allocations: 413.5 kB / 0.5181 GB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2758, allocations: 9.5 kB / 0.5181 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.2759, allocations: 13.31 kB / 0.5181 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.276, allocations: 203.2 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2761, allocations: 2.156 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2761, allocations: 7.672 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2762, allocations: 53.3 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2763, allocations: 1.219 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2763, allocations: 1.203 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2763, allocations: 0.5 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2764, allocations: 31.98 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.2768, allocations: 315 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2769, allocations: 50.16 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.277, allocations: 20.7 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.277, allocations: 1.875 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.277, allocations: 31.22 kB / 0.5188 GB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/0.277, allocations: 1.281 kB / 0.5188 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008945/0.2779, allocations: 277.2 kB / 0.5191 GB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2779, allocations: 56.48 kB / 0.5192 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2782, allocations: 254.5 kB / 0.5194 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.2782, allocations: 29.59 kB / 0.5194 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.2783, allocations: 107.6 kB / 0.5195 GB, free: 10.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.2783, allocations: 30.11 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.2783, allocations: 2.875 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.2783, allocations: 324.9 kB / 0.5199 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.2784, allocations: 37.09 kB / 0.5199 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.2785, allocations: 37.19 kB / 0.5199 GB, free: 10.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.195e-05/0.2786, allocations: 37.23 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2786, allocations: 1.062 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002167/0.2789, allocations: 128.5 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2789, allocations: 4.844 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2789, allocations: 0.9688 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2789, allocations: 1.219 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.279, allocations: 20.08 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.279, allocations: 3.953 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.2791, allocations: 12.73 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.2791, allocations: 6.078 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.129e-05/0.2792, allocations: 134.7 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.2792, allocations: 10.28 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2795, allocations: 146 kB / 0.5204 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2795, allocations: 1.062 kB / 0.5204 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2795, allocations: 7.438 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2795, allocations: 4.609 kB / 0.5204 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.28, allocations: 427.6 kB / 0.5208 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.28, allocations: 1.031 kB / 0.5208 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.2801, allocations: 23.39 kB / 0.5209 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2801, allocations: 1 kB / 0.5209 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2801, allocations: 6.391 kB / 0.5209 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2801, allocations: 2.281 kB / 0.5209 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2801, allocations: 0 / 0.5209 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.2804, allocations: 227.7 kB / 0.5211 GB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.2804, allocations: 92.03 kB / 0.5212 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2805, allocations: 3.75 kB / 0.5212 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.2805, allocations: 11.84 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.2806, allocations: 6.922 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2806, allocations: 4.594 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.2808, allocations: 197 kB / 0.5214 GB, free: 9.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2808, allocations: 1.375 kB / 0.5214 GB, free: 9.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.281, allocations: 18.97 kB / 0.5214 GB, free: 9.648 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008137/0.2818, allocations: 456.5 kB / 0.5219 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.2821, allocations: 82.55 kB / 0.5219 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2821, allocations: 0 / 0.5219 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2822, allocations: 50.8 kB / 0.522 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2825, allocations: 18.22 kB / 0.522 GB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.2829, allocations: 345.2 kB / 0.5223 GB, free: 9.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2831, allocations: 0.7155 MB / 0.523 GB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2831, allocations: 19.31 kB / 0.523 GB, free: 8.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2831, allocations: 1.406 kB / 0.523 GB, free: 8.5 MB / 346.7 MB Notification: Performance of Templates: time 0.00355/0.2867, allocations: 1.876 MB / 0.5249 GB, free: 8.281 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches