Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 191.5 kB / 16.78 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008176/0.0008178, allocations: 104 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3327/0.3327, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 12 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2721, allocations: 62.96 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3788, allocations: 90.63 MB / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.3791, allocations: 79.95 kB / 0.6051 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.3965, allocations: 6.563 MB / 0.6115 GB, free: 8.121 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3966, allocations: 0 / 0.6115 GB, free: 8.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3966, allocations: 4 kB / 0.6115 GB, free: 8.117 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.000612/0.3972, allocations: 458.8 kB / 0.6119 GB, free: 7.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3973, allocations: 8.031 kB / 0.6119 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3973, allocations: 16.75 kB / 0.6119 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3977, allocations: 229.9 kB / 0.6122 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3977, allocations: 8.375 kB / 0.6122 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3977, allocations: 4.375 kB / 0.6122 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3979, allocations: 54.23 kB / 0.6122 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3979, allocations: 192 / 0.6122 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3979, allocations: 11.94 kB / 0.6122 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3979, allocations: 0 / 0.6122 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.398, allocations: 19.98 kB / 0.6123 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3984, allocations: 288.9 kB / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3986, allocations: 70.55 kB / 0.6126 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.3986, allocations: 16.86 kB / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3986, allocations: 0 / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3988, allocations: 71.38 kB / 0.6127 GB, free: 6.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.836e-06/0.3988, allocations: 7.984 kB / 0.6127 GB, free: 6.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005084/0.3993, allocations: 181.1 kB / 0.6129 GB, free: 6.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3994, allocations: 55.41 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3996, allocations: 208.7 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3996, allocations: 29.7 kB / 0.6131 GB, free: 6.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.3996, allocations: 104.1 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3997, allocations: 23.66 kB / 0.6133 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.3997, allocations: 3.938 kB / 0.6133 GB, free: 6.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3998, allocations: 338.7 kB / 0.6136 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3999, allocations: 23.92 kB / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.3999, allocations: 33.7 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4001, allocations: 61.7 kB / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4001, allocations: 0 / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.4003, allocations: 105.5 kB / 0.6138 GB, free: 5.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4003, allocations: 8 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4003, allocations: 0 / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4003, allocations: 0 / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.4004, allocations: 16 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4004, allocations: 3.938 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.4005, allocations: 11.89 kB / 0.6138 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4005, allocations: 0 / 0.6138 GB, free: 5.465 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 8.949e-05/0.4006, allocations: 129.8 kB / 0.614 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4006, allocations: 19.89 kB / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4008, allocations: 119 kB / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4009, allocations: 0 / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4009, allocations: 0 / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4009, allocations: 0 / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.4013, allocations: 431.3 kB / 0.6145 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4013, allocations: 384 / 0.6145 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.4014, allocations: 12.03 kB / 0.6145 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4014, allocations: 8 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4014, allocations: 0 / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4014, allocations: 0 / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4014, allocations: 7.922 kB / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4017, allocations: 204.5 kB / 0.6147 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.4017, allocations: 101 kB / 0.6148 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4018, allocations: 11.94 kB / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.4018, allocations: 0 / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4019, allocations: 19.91 kB / 0.6149 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4019, allocations: 4 kB / 0.6149 GB, free: 4.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.402, allocations: 156.3 kB / 0.615 GB, free: 4.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.402, allocations: 3.938 kB / 0.615 GB, free: 4.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.4023, allocations: 35.92 kB / 0.6151 GB, free: 4.117 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.0009697/0.4033, allocations: 465.9 kB / 0.6155 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4035, allocations: 63.91 kB / 0.6156 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4035, allocations: 0 / 0.6156 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.4035, allocations: 28.12 kB / 0.6156 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4039, allocations: 32.08 kB / 0.6156 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.4043, allocations: 303.6 kB / 0.6159 GB, free: 3.375 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4046, allocations: 0.7082 MB / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.4047, allocations: 19.44 kB / 0.6166 GB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4047, allocations: 0 / 0.6166 GB, free: 2.621 MB / 426.7 MB Notification: Performance of Templates: time 0.00341/0.4081, allocations: 2.019 MB / 0.6186 GB, free: 0.6055 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches