Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 181.2 kB / 19.38 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3724, allocations: 60.81 MB / 0.5197 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003107/0.3755, allocations: 1.903 MB / 0.5215 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3771, allocations: 0.9922 MB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3772, allocations: 5.938 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.3777, allocations: 251 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.3782, allocations: 180.5 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.3786, allocations: 184 kB / 0.5231 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.379, allocations: 259.2 kB / 0.5233 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3791, allocations: 22.11 kB / 0.5233 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3793, allocations: 131.7 kB / 0.5235 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.3796, allocations: 186.5 kB / 0.5236 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.3796, allocations: 7.594 kB / 0.5237 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3798, allocations: 66.5 kB / 0.5237 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3799, allocations: 61.3 kB / 0.5238 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3801, allocations: 93.66 kB / 0.5239 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.3805, allocations: 240.1 kB / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3805, allocations: 0.6562 kB / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3805, allocations: 0 / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3805, allocations: 0 / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007041/0.3812, allocations: 0.5759 MB / 0.5247 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3813, allocations: 10.75 kB / 0.5247 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.3813, allocations: 28.69 kB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3817, allocations: 278.8 kB / 0.525 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3817, allocations: 3.781 kB / 0.525 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3818, allocations: 18.05 kB / 0.525 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.382, allocations: 123.9 kB / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.382, allocations: 0 / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3821, allocations: 1.234 kB / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3821, allocations: 2.656 kB / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3822, allocations: 49.73 kB / 0.5251 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.3829, allocations: 474.8 kB / 0.5256 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.3833, allocations: 120.8 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3834, allocations: 51.08 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3834, allocations: 1.891 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3837, allocations: 128.5 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3837, allocations: 0 / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001406/0.3851, allocations: 0.5035 MB / 0.5264 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.3852, allocations: 81.41 kB / 0.5265 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.3858, allocations: 483.7 kB / 0.5269 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3858, allocations: 33.25 kB / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3859, allocations: 162.1 kB / 0.5271 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.386, allocations: 66.98 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.3861, allocations: 46.91 kB / 0.5272 GB, free: 14.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3862, allocations: 352.4 kB / 0.5276 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3864, allocations: 58.22 kB / 0.5276 GB, free: 14.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3865, allocations: 99.03 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3868, allocations: 161.6 kB / 0.5279 GB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3868, allocations: 0 / 0.5279 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004002/0.3872, allocations: 238.9 kB / 0.5281 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3872, allocations: 9.406 kB / 0.5281 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3873, allocations: 1.469 kB / 0.5281 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3873, allocations: 2.312 kB / 0.5281 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3874, allocations: 41.58 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3874, allocations: 10.14 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.3875, allocations: 4.531 kB / 0.5282 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3876, allocations: 10.56 kB / 0.5282 GB, free: 14.04 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.3877, allocations: 165.1 kB / 0.5283 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3878, allocations: 42.5 kB / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.3879, allocations: 49.61 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3879, allocations: 2.656 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3879, allocations: 0 / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3879, allocations: 1.312 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.3889, allocations: 0.7404 MB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3889, allocations: 1.625 kB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.389, allocations: 32.14 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.389, allocations: 3.062 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.389, allocations: 11.34 kB / 0.5292 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.389, allocations: 2.594 kB / 0.5292 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.389, allocations: 1.281 kB / 0.5292 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.3895, allocations: 427.1 kB / 0.5296 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.3896, allocations: 101.5 kB / 0.5297 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.3897, allocations: 15.39 kB / 0.5297 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3898, allocations: 12.48 kB / 0.5297 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3899, allocations: 20.73 kB / 0.5297 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3899, allocations: 16.86 kB / 0.5297 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003554/0.3903, allocations: 355.7 kB / 0.5301 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3903, allocations: 0 / 0.5301 GB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.3907, allocations: 52.64 kB / 0.5301 GB, free: 12.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.3919, allocations: 0.5028 MB / 0.5306 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3923, allocations: 158.4 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3923, allocations: 1.281 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3925, allocations: 82.97 kB / 0.5309 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.3931, allocations: 63.14 kB / 0.5309 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.3941, allocations: 0.6121 MB / 0.5315 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3945, allocations: 0.7883 MB / 0.5323 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.3946, allocations: 25.84 kB / 0.5323 GB, free: 10.97 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3946, allocations: 5.281 kB / 0.5323 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Templates: time 0.006513/0.4011, allocations: 3.793 MB / 0.536 GB, free: 8.984 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches