Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 199 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009001/0.0009, allocations: 102.4 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3443/0.3443, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3408, allocations: 62.96 MB / 0.5165 GB, free: 36.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4572, allocations: 90.7 MB / 0.6051 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4575, allocations: 75.97 kB / 0.6051 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.476, allocations: 6.93 MB / 0.6119 GB, free: 7.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.476, allocations: 0 / 0.6119 GB, free: 7.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.4761, allocations: 7.938 kB / 0.6119 GB, free: 7.664 MB / 426.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.0005735/0.4767, allocations: 474.7 kB / 0.6124 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4767, allocations: 8.031 kB / 0.6124 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4768, allocations: 20.75 kB / 0.6124 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.4771, allocations: 225.6 kB / 0.6126 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4771, allocations: 12.36 kB / 0.6126 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4771, allocations: 384 / 0.6126 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4773, allocations: 66.16 kB / 0.6127 GB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4773, allocations: 4.188 kB / 0.6127 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4773, allocations: 3.938 kB / 0.6127 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4773, allocations: 4 kB / 0.6127 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.4774, allocations: 27.97 kB / 0.6127 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.4778, allocations: 300.9 kB / 0.613 GB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.478, allocations: 74.36 kB / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.4781, allocations: 24.97 kB / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4781, allocations: 0 / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4783, allocations: 71.3 kB / 0.6132 GB, free: 6.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4783, allocations: 0 / 0.6132 GB, free: 6.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000738/0.479, allocations: 250.6 kB / 0.6134 GB, free: 5.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4791, allocations: 59.41 kB / 0.6135 GB, free: 5.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4793, allocations: 234.5 kB / 0.6137 GB, free: 5.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4793, allocations: 29.7 kB / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.4794, allocations: 112.1 kB / 0.6138 GB, free: 5.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.4794, allocations: 35.45 kB / 0.6138 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.4795, allocations: 0 / 0.6138 GB, free: 5.465 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4796, allocations: 330.8 kB / 0.6142 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.4797, allocations: 27.98 kB / 0.6142 GB, free: 5.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.4797, allocations: 49.7 kB / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4799, allocations: 77.7 kB / 0.6143 GB, free: 4.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4799, allocations: 3.938 kB / 0.6143 GB, free: 4.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.4801, allocations: 130.6 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4802, allocations: 4 kB / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4802, allocations: 0 / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4802, allocations: 7.984 kB / 0.6145 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.4803, allocations: 23.97 kB / 0.6145 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4803, allocations: 3.938 kB / 0.6145 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4804, allocations: 11.98 kB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4804, allocations: 4 kB / 0.6145 GB, free: 4.777 MB / 426.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 (13): * Single equations (assignments): 13 * 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.0001012/0.4805, allocations: 129.8 kB / 0.6146 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.4805, allocations: 19.8 kB / 0.6146 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.4808, allocations: 151.2 kB / 0.6148 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4808, allocations: 11.97 kB / 0.6148 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4808, allocations: 4 kB / 0.6148 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4808, allocations: 0 / 0.6148 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.4814, allocations: 476 kB / 0.6152 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4814, allocations: 0 / 0.6152 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.4815, allocations: 15.98 kB / 0.6153 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4815, allocations: 8 kB / 0.6153 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4815, allocations: 8 kB / 0.6153 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4815, allocations: 4 kB / 0.6153 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4815, allocations: 0 / 0.6153 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4818, allocations: 245 kB / 0.6155 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4818, allocations: 100.9 kB / 0.6156 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4819, allocations: 11.94 kB / 0.6156 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.482, allocations: 8 kB / 0.6156 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.482, allocations: 7.984 kB / 0.6156 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.482, allocations: 4 kB / 0.6156 GB, free: 3.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4822, allocations: 176.3 kB / 0.6158 GB, free: 3.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4822, allocations: 0 / 0.6158 GB, free: 3.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.4825, allocations: 47.92 kB / 0.6159 GB, free: 3.266 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00107/0.4835, allocations: 0.5232 MB / 0.6164 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.4838, allocations: 79.91 kB / 0.6164 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4838, allocations: 0 / 0.6164 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.4839, allocations: 47.91 kB / 0.6165 GB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4842, allocations: 42.91 kB / 0.6165 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4848, allocations: 345.6 kB / 0.6169 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4851, allocations: 0.7238 MB / 0.6176 GB, free: 1.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.4851, allocations: 19.42 kB / 0.6176 GB, free: 1.617 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4851, allocations: 0 / 0.6176 GB, free: 1.617 MB / 426.7 MB Notification: Performance of Templates: time 0.003755/0.4889, allocations: 2.319 MB / 0.6199 GB, free: 15.3 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches