Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.3 MB / 213.7 MB, free: 1.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009069, allocations: 88.03 kB / 261.8 MB, free: 1.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.794e-05, allocations: 4 kB / 418.3 MB, free: 28.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 58.86 MB / 477.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5753, allocations: 86.96 MB / 0.5509 GB, free: 7.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.5755, allocations: 78.98 kB / 0.5509 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.5884, allocations: 5.404 MB / 0.5562 GB, free: 3.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5884, allocations: 0 / 0.5562 GB, free: 3.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5885, allocations: 3.938 kB / 0.5562 GB, free: 3.652 MB / 362.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.0005238/0.589, allocations: 401.2 kB / 0.5566 GB, free: 3.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5891, allocations: 12.03 kB / 0.5566 GB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.5891, allocations: 19.73 kB / 0.5566 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5895, allocations: 210.1 kB / 0.5568 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5895, allocations: 7.984 kB / 0.5568 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.5895, allocations: 3.5 kB / 0.5568 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.483e-05/0.5896, allocations: 15 kB / 0.5569 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.5897, allocations: 56.86 kB / 0.5569 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5897, allocations: 4 kB / 0.5569 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.5898, allocations: 0 / 0.5569 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5898, allocations: 0 / 0.5569 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.5901, allocations: 265.9 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.5903, allocations: 47.94 kB / 0.5572 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.5903, allocations: 20.23 kB / 0.5572 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.5903, allocations: 4 kB / 0.5572 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.5905, allocations: 70.2 kB / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5905, allocations: 0 / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004493/0.591, allocations: 145.5 kB / 0.5574 GB, free: 2.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.591, allocations: 59.33 kB / 0.5575 GB, free: 2.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.5911, allocations: 180 kB / 0.5577 GB, free: 2.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.5912, allocations: 25.7 kB / 0.5577 GB, free: 2.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.5912, allocations: 114.1 kB / 0.5578 GB, free: 1.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.5912, allocations: 27.02 kB / 0.5578 GB, free: 1.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.5913, allocations: 0 / 0.5578 GB, free: 1.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.5913, allocations: 325.4 kB / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.5914, allocations: 15.75 kB / 0.5582 GB, free: 1.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.5914, allocations: 28.47 kB / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.5914, allocations: 27.58 kB / 0.5582 GB, free: 1.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5915, allocations: 4 kB / 0.5582 GB, free: 1.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000137/0.5916, allocations: 91.09 kB / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5916, allocations: 4 kB / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5916, allocations: 0 / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5917, allocations: 0 / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.5918, allocations: 19.98 kB / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5918, allocations: 0 / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.5918, allocations: 0 / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5918, allocations: 7.953 kB / 0.5583 GB, free: 1.449 MB / 362.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 () * 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.522e-05/0.5919, allocations: 109 kB / 0.5584 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.592, allocations: 11.81 kB / 0.5584 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.5922, allocations: 120.5 kB / 0.5586 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5922, allocations: 4 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5922, allocations: 0 / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5922, allocations: 3.984 kB / 0.5586 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.5926, allocations: 378.2 kB / 0.5589 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5926, allocations: 4.031 kB / 0.5589 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.5926, allocations: 11.98 kB / 0.5589 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5926, allocations: 4 kB / 0.5589 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5927, allocations: 0 / 0.5589 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5927, allocations: 3.938 kB / 0.559 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5927, allocations: 0 / 0.559 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.5928, allocations: 216 kB / 0.5592 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.5929, allocations: 93 kB / 0.5592 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.5929, allocations: 11.38 kB / 0.5593 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.593, allocations: 3.984 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.5931, allocations: 15.88 kB / 0.5593 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.5931, allocations: 4 kB / 0.5593 GB, free: 468 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.5932, allocations: 146.7 kB / 0.5594 GB, free: 344 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5932, allocations: 0 / 0.5594 GB, free: 344 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000268/0.5935, allocations: 27.94 kB / 0.5594 GB, free: 316 kB / 362.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) * 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.0008761/0.5943, allocations: 398.3 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.5945, allocations: 54.8 kB / 0.5599 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5945, allocations: 0 / 0.5599 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.5946, allocations: 34.61 kB / 0.5599 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5949, allocations: 23.28 kB / 0.5599 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.5953, allocations: 160.2 kB / 0.5601 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5956, allocations: 0.712 MB / 0.5608 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.338e-05/0.5957, allocations: 20.61 kB / 0.5608 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.5957, allocations: 15.44 kB / 0.5608 GB, free: 14.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5957, allocations: 0 / 0.5608 GB, free: 14.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004436/0.6002, allocations: 1.636 MB / 0.5624 GB, free: 13.35 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches