Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001296, allocations: 190.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 226.6 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000906/0.000906, allocations: 99.73 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2888/0.2888, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 12 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2672, allocations: 62.96 MB / 0.5165 GB, free: 36.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3697, allocations: 90.49 MB / 0.6048 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.3699, allocations: 75.97 kB / 0.6049 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01853/0.3885, allocations: 7.625 MB / 0.6124 GB, free: 7.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3885, allocations: 0 / 0.6124 GB, free: 7.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.3885, allocations: 7.938 kB / 0.6124 GB, free: 7.211 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.0008832/0.3894, allocations: 0.7504 MB / 0.6131 GB, free: 6.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3894, allocations: 8.031 kB / 0.6131 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.3895, allocations: 56.28 kB / 0.6132 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.3903, allocations: 0.5153 MB / 0.6137 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3903, allocations: 384 / 0.6137 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3903, allocations: 8.312 kB / 0.6137 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3905, allocations: 91.91 kB / 0.6138 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3905, allocations: 192 / 0.6138 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3906, allocations: 7.938 kB / 0.6138 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3906, allocations: 7.938 kB / 0.6138 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3907, allocations: 35.95 kB / 0.6138 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.3911, allocations: 394.3 kB / 0.6142 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3913, allocations: 105.2 kB / 0.6143 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/0.3914, allocations: 41.69 kB / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3914, allocations: 4 kB / 0.6143 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.3916, allocations: 113 kB / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3917, allocations: 0 / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004619/0.3921, allocations: 208.8 kB / 0.6146 GB, free: 4.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3922, allocations: 77.11 kB / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3935, allocations: 1.026 MB / 0.6157 GB, free: 3.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3935, allocations: 29.7 kB / 0.6157 GB, free: 3.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3937, allocations: 244.1 kB / 0.616 GB, free: 3.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3937, allocations: 27.64 kB / 0.616 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3937, allocations: 4 kB / 0.616 GB, free: 3.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3939, allocations: 366.8 kB / 0.6164 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.3939, allocations: 31.92 kB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.394, allocations: 63.34 kB / 0.6165 GB, free: 2.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3942, allocations: 95.34 kB / 0.6165 GB, free: 2.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3942, allocations: 4 kB / 0.6165 GB, free: 2.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002804/0.3945, allocations: 165 kB / 0.6167 GB, free: 2.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3945, allocations: 14.89 kB / 0.6167 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3946, allocations: 4 kB / 0.6167 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3946, allocations: 0 / 0.6167 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3947, allocations: 24.69 kB / 0.6167 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3947, allocations: 11.92 kB / 0.6168 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3948, allocations: 11.91 kB / 0.6168 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.3948, allocations: 4 kB / 0.6168 GB, free: 2.426 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002016/0.395, allocations: 221.8 kB / 0.617 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.3951, allocations: 59.28 kB / 0.617 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.3955, allocations: 205.7 kB / 0.6172 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3955, allocations: 0 / 0.6172 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3955, allocations: 4 kB / 0.6172 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3956, allocations: 0 / 0.6172 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.3959, allocations: 393.2 kB / 0.6176 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3959, allocations: 0 / 0.6176 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.396, allocations: 11.94 kB / 0.6176 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.396, allocations: 7.938 kB / 0.6176 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.396, allocations: 7.984 kB / 0.6176 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.396, allocations: 7.938 kB / 0.6177 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.396, allocations: 0 / 0.6177 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3963, allocations: 213.3 kB / 0.6179 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.3966, allocations: 196.4 kB / 0.618 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.3966, allocations: 7.938 kB / 0.618 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.3967, allocations: 4 kB / 0.6181 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3968, allocations: 15.98 kB / 0.6181 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3968, allocations: 8 kB / 0.6181 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008309/0.3976, allocations: 0.7643 MB / 0.6188 GB, free: 228 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3976, allocations: 0 / 0.6188 GB, free: 228 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.3979, allocations: 87.92 kB / 0.6189 GB, free: 140 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008411/0.3988, allocations: 425.4 kB / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.399, allocations: 83.89 kB / 0.6194 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.399, allocations: 4.125 kB / 0.6194 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3991, allocations: 47.92 kB / 0.6194 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.3996, allocations: 74.95 kB / 0.6195 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4009, allocations: 1.063 MB / 0.6205 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4014, allocations: 0.8468 MB / 0.6214 GB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4015, allocations: 43.42 kB / 0.6214 GB, free: 13.63 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4015, allocations: 4 kB / 0.6214 GB, free: 13.62 MB / 442.7 MB Notification: Performance of Templates: time 0.008633/0.4101, allocations: 5.755 MB / 0.627 GB, free: 7.875 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches