Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009075/0.0009075, allocations: 199.5 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007484/0.0007483, allocations: 95.97 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 44.83 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08674, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001762/0.08854, allocations: 1.311 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.08933, allocations: 0.4914 MB / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.08938, allocations: 0 / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.0896, allocations: 67.83 kB / 0.5171 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.08981, allocations: 99.72 kB / 0.5172 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.09007, allocations: 90.69 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.09021, allocations: 67.83 kB / 0.5174 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.0903, allocations: 15.97 kB / 0.5174 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.09037, allocations: 35.84 kB / 0.5174 GB, free: 0.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.09046, allocations: 43.83 kB / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.09048, allocations: 0 / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.09057, allocations: 43.98 kB / 0.5175 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.09061, allocations: 15.92 kB / 0.5175 GB, free: 492 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.09065, allocations: 37.64 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.09079, allocations: 79.88 kB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.0908, allocations: 3.984 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09081, allocations: 0 / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.09082, allocations: 0 / 0.5177 GB, free: 364 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.1722/0.263, allocations: 396.2 kB / 0.518 GB, free: 11.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2631, allocations: 9.656 kB / 0.518 GB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.2631, allocations: 12.44 kB / 0.5181 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2633, allocations: 194.8 kB / 0.5182 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2633, allocations: 5.328 kB / 0.5182 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2633, allocations: 4.938 kB / 0.5183 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2635, allocations: 55.31 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2635, allocations: 0.8438 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2635, allocations: 3.375 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2635, allocations: 1.594 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2637, allocations: 33.58 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.264, allocations: 307.8 kB / 0.5186 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.2641, allocations: 47.89 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.2642, allocations: 22.36 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2642, allocations: 1.891 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2642, allocations: 32.59 kB / 0.5187 GB, free: 11.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.2643, allocations: 3.875 kB / 0.5187 GB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008841/0.2651, allocations: 269.9 kB / 0.519 GB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.2652, allocations: 57.97 kB / 0.5191 GB, free: 11.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2654, allocations: 214.9 kB / 0.5193 GB, free: 11.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2654, allocations: 29.16 kB / 0.5193 GB, free: 11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.2654, allocations: 111.7 kB / 0.5194 GB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2655, allocations: 29.19 kB / 0.5194 GB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.2655, allocations: 1.125 kB / 0.5194 GB, free: 10.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.2655, allocations: 330.6 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.2656, allocations: 33.72 kB / 0.5198 GB, free: 10.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.2657, allocations: 37.17 kB / 0.5198 GB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/0.2658, allocations: 36.86 kB / 0.5198 GB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.2658, allocations: 0.6875 kB / 0.5198 GB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.266, allocations: 115.5 kB / 0.5199 GB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2661, allocations: 11.8 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2661, allocations: 0 / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2661, allocations: 0.6562 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.2662, allocations: 19.97 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2662, allocations: 4.547 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.2663, allocations: 18.5 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2663, allocations: 2.375 kB / 0.52 GB, free: 10.52 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 6.931e-05/0.2663, allocations: 132.2 kB / 0.5201 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2664, allocations: 9.781 kB / 0.5201 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.2667, allocations: 136.6 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2667, allocations: 1.766 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2667, allocations: 0 / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2667, allocations: 4.516 kB / 0.5203 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2672, allocations: 432.5 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2672, allocations: 5.094 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.2673, allocations: 23.05 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2673, allocations: 5.5 kB / 0.5207 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2673, allocations: 6.406 kB / 0.5207 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2673, allocations: 0.9688 kB / 0.5207 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2673, allocations: 2.109 kB / 0.5207 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2675, allocations: 222.2 kB / 0.5209 GB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.2676, allocations: 92.38 kB / 0.521 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2676, allocations: 1.656 kB / 0.521 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.2677, allocations: 14.36 kB / 0.521 GB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.2677, allocations: 12.05 kB / 0.5211 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2677, allocations: 2.703 kB / 0.5211 GB, free: 9.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2679, allocations: 160.7 kB / 0.5212 GB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2679, allocations: 4 kB / 0.5212 GB, free: 9.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.2681, allocations: 19.27 kB / 0.5212 GB, free: 9.691 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.0007885/0.2689, allocations: 443 kB / 0.5217 GB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2691, allocations: 82.72 kB / 0.5217 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2691, allocations: 1.438 kB / 0.5217 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.2692, allocations: 44.72 kB / 0.5218 GB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2695, allocations: 19.31 kB / 0.5218 GB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.27, allocations: 308.1 kB / 0.5221 GB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2701, allocations: 0.7172 MB / 0.5228 GB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.2701, allocations: 16.12 kB / 0.5228 GB, free: 8.562 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2701, allocations: 3.938 kB / 0.5228 GB, free: 8.559 MB / 346.7 MB Notification: Performance of Templates: time 0.003311/0.2735, allocations: 1.807 MB / 0.5246 GB, free: 8.359 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches