Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 190.7 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007346, allocations: 100.9 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3924/0.3924, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002941, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4327, allocations: 62.97 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.5556, allocations: 90.61 MB / 0.605 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.5558, allocations: 75.95 kB / 0.605 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.5744, allocations: 6.383 MB / 0.6113 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5744, allocations: 0 / 0.6113 GB, free: 8.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.5744, allocations: 4 kB / 0.6113 GB, free: 8.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006854/0.5751, allocations: 446.9 kB / 0.6117 GB, free: 7.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5752, allocations: 16.02 kB / 0.6117 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.5753, allocations: 12.75 kB / 0.6117 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.5756, allocations: 220.7 kB / 0.6119 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5756, allocations: 8.375 kB / 0.612 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.5757, allocations: 384 / 0.612 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5759, allocations: 62.22 kB / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5759, allocations: 4.172 kB / 0.612 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.5759, allocations: 11.94 kB / 0.612 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5759, allocations: 0 / 0.612 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.576, allocations: 23.92 kB / 0.6121 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.5765, allocations: 288.9 kB / 0.6123 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.5767, allocations: 62.61 kB / 0.6124 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.5768, allocations: 20.84 kB / 0.6124 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5768, allocations: 4 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.577, allocations: 71.33 kB / 0.6125 GB, free: 6.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.577, allocations: 0 / 0.6125 GB, free: 6.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006443/0.5777, allocations: 185.1 kB / 0.6127 GB, free: 6.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5777, allocations: 51.41 kB / 0.6127 GB, free: 6.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.578, allocations: 200.3 kB / 0.6129 GB, free: 6.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.578, allocations: 25.7 kB / 0.6129 GB, free: 6.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.5781, allocations: 108.1 kB / 0.613 GB, free: 6.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.5781, allocations: 19.72 kB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.5781, allocations: 0 / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5783, allocations: 334.8 kB / 0.6134 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.5783, allocations: 23.92 kB / 0.6134 GB, free: 5.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.5784, allocations: 33.7 kB / 0.6134 GB, free: 5.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.5785, allocations: 65.64 kB / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5786, allocations: 0 / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/0.5788, allocations: 105.6 kB / 0.6136 GB, free: 5.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5788, allocations: 11.98 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5788, allocations: 0 / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5788, allocations: 0 / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.5789, allocations: 15.94 kB / 0.6136 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5789, allocations: 4 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.579, allocations: 3.984 kB / 0.6136 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.579, allocations: 4 kB / 0.6136 GB, free: 5.66 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 (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.0001263/0.5792, allocations: 129.7 kB / 0.6137 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.5792, allocations: 15.94 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.5795, allocations: 123.1 kB / 0.6139 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5795, allocations: 3.984 kB / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5795, allocations: 0 / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5795, allocations: 0 / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.5801, allocations: 415.2 kB / 0.6143 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5801, allocations: 4 kB / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.5801, allocations: 16.39 kB / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.5801, allocations: 0 / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.5802, allocations: 7.938 kB / 0.6143 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5802, allocations: 8 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5802, allocations: 3.938 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.5805, allocations: 204.2 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.5806, allocations: 92.91 kB / 0.6146 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.5806, allocations: 12 kB / 0.6146 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.5807, allocations: 4 kB / 0.6146 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5807, allocations: 7.922 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5807, allocations: 4 kB / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.581, allocations: 151.2 kB / 0.6148 GB, free: 4.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.581, allocations: 0 / 0.6148 GB, free: 4.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.5814, allocations: 35.98 kB / 0.6148 GB, free: 4.336 MB / 426.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 (9): * Single equations (assignments): 7 * 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.001203/0.5826, allocations: 464 kB / 0.6152 GB, free: 4.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.5828, allocations: 67.89 kB / 0.6153 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5828, allocations: 0 / 0.6153 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.5829, allocations: 39.98 kB / 0.6153 GB, free: 3.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.5833, allocations: 27.91 kB / 0.6154 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.5839, allocations: 287.9 kB / 0.6156 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5842, allocations: 0.7043 MB / 0.6163 GB, free: 2.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.5843, allocations: 19.42 kB / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5843, allocations: 0 / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of Templates: time 0.004442/0.5887, allocations: 1.981 MB / 0.6183 GB, free: 0.8672 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches