Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 198 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007516/0.0007518, allocations: 100.2 kB / 295.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3382/0.3382, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 12 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3471, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001678/0.3488, allocations: 1.428 MB / 0.5173 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.35, allocations: 0.9454 MB / 0.5182 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.3501, allocations: 2.969 kB / 0.5182 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.3504, allocations: 38.16 kB / 0.5182 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3506, allocations: 77.2 kB / 0.5183 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3509, allocations: 91.25 kB / 0.5184 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.351, allocations: 91.86 kB / 0.5185 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.3511, allocations: 17.61 kB / 0.5185 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.3512, allocations: 34.97 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.3513, allocations: 29.56 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3513, allocations: 2.875 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.3514, allocations: 41.38 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.3514, allocations: 16.91 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.3515, allocations: 61.62 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3516, allocations: 91.19 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3516, allocations: 0 / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3516, allocations: 4 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3516, allocations: 0 / 0.5188 GB, free: 35.08 MB / 378.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.0004332/0.3521, allocations: 395 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3521, allocations: 8.531 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3522, allocations: 14.81 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3524, allocations: 210.5 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3524, allocations: 3.609 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3524, allocations: 11.09 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3525, allocations: 52.06 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3526, allocations: 0 / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3526, allocations: 10.91 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3526, allocations: 3.938 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.3527, allocations: 16.47 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.3529, allocations: 295.1 kB / 0.5198 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3531, allocations: 59.33 kB / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3532, allocations: 17.7 kB / 0.5198 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3532, allocations: 6.234 kB / 0.5198 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3533, allocations: 65.64 kB / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.3533, allocations: 0 / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004638/0.3538, allocations: 178.5 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3539, allocations: 58.22 kB / 0.5201 GB, free: 33.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.354, allocations: 201.6 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.354, allocations: 25.7 kB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.3541, allocations: 109.2 kB / 0.5204 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.3541, allocations: 22.78 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.3541, allocations: 4 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.3542, allocations: 329.3 kB / 0.5208 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.3542, allocations: 19.88 kB / 0.5208 GB, free: 33.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.3543, allocations: 39.73 kB / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.3544, allocations: 51.5 kB / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3544, allocations: 0 / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.3545, allocations: 103.3 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3546, allocations: 5.562 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3546, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3546, allocations: 4.031 kB / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.3547, allocations: 22.14 kB / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3547, allocations: 0 / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.3548, allocations: 10.72 kB / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3548, allocations: 3 kB / 0.521 GB, free: 33.09 MB / 378.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 7.202e-05/0.3548, allocations: 128.3 kB / 0.5212 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.3549, allocations: 9.75 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3549, allocations: 18.52 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3549, allocations: 0 / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3549, allocations: 4 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3549, allocations: 6.969 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3553, allocations: 388.6 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3553, allocations: 2.375 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.3553, allocations: 12.34 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3553, allocations: 3.984 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3553, allocations: 10.55 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3553, allocations: 0 / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3553, allocations: 8.031 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3555, allocations: 205.7 kB / 0.5218 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.3556, allocations: 94.48 kB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3556, allocations: 3.938 kB / 0.5219 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.3557, allocations: 2.906 kB / 0.5219 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.3557, allocations: 10.61 kB / 0.5219 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3557, allocations: 5.719 kB / 0.5219 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.3558, allocations: 146.8 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 192 / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.3561, allocations: 25.91 kB / 0.5221 GB, free: 32.2 MB / 378.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 (8): * Single equations (assignments): 6 * 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.0008656/0.3569, allocations: 462.5 kB / 0.5225 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3571, allocations: 59.61 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3571, allocations: 0 / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.3572, allocations: 29.5 kB / 0.5226 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3575, allocations: 32.91 kB / 0.5226 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.358, allocations: 283.7 kB / 0.5229 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3582, allocations: 0.7065 MB / 0.5236 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.3582, allocations: 19.59 kB / 0.5236 GB, free: 30.99 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3582, allocations: 0 / 0.5236 GB, free: 30.99 MB / 378.7 MB Notification: Performance of Templates: time 0.003027/0.3612, allocations: 1.932 MB / 0.5255 GB, free: 30.78 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches