Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.89 kB / 0.4936 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3777, allocations: 65.48 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003613/0.3813, allocations: 1.772 MB / 0.5592 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.3844, allocations: 1.743 MB / 0.5609 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3845, allocations: 3.938 kB / 0.561 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.3848, allocations: 51.69 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.3854, allocations: 135.4 kB / 0.5611 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3856, allocations: 111.6 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.386, allocations: 207.4 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.386, allocations: 5.812 kB / 0.5614 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3862, allocations: 91.56 kB / 0.5615 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3864, allocations: 75.61 kB / 0.5616 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.3864, allocations: 8 kB / 0.5616 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.3867, allocations: 115.9 kB / 0.5617 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.3868, allocations: 39.83 kB / 0.5618 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.3868, allocations: 43.73 kB / 0.5618 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.3872, allocations: 233.4 kB / 0.562 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3872, allocations: 0 / 0.562 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3872, allocations: 8 kB / 0.562 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3872, allocations: 3.938 kB / 0.562 GB, free: 2.793 MB / 398.1 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.00077/0.388, allocations: 425 kB / 0.5624 GB, free: 2.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3881, allocations: 8.031 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.3881, allocations: 16.84 kB / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.3885, allocations: 190.1 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3885, allocations: 384 / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3886, allocations: 12.12 kB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3888, allocations: 148.5 kB / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3888, allocations: 8 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3889, allocations: 7.984 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3889, allocations: 0 / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.389, allocations: 39.86 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.3892, allocations: 166.1 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3895, allocations: 101.2 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3896, allocations: 45.67 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3897, allocations: 4 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.3899, allocations: 113 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3899, allocations: 4 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005109/0.3904, allocations: 177.4 kB / 0.5634 GB, free: 1.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.3905, allocations: 136.5 kB / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.3908, allocations: 244.1 kB / 0.5638 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3909, allocations: 33.7 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.3909, allocations: 116.1 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.391, allocations: 27.81 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.3911, allocations: 29.7 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3912, allocations: 334.8 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3913, allocations: 27.98 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3915, allocations: 128.5 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3917, allocations: 87.36 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3917, allocations: 0 / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.392, allocations: 150.1 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.392, allocations: 4 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3921, allocations: 8 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3921, allocations: 0 / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3922, allocations: 23.92 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3922, allocations: 4 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.3923, allocations: 19.88 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3923, allocations: 4 kB / 0.5647 GB, free: 15.73 MB / 414.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.3924, allocations: 126.4 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.3925, allocations: 23.91 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.3929, allocations: 162.7 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3929, allocations: 4 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3929, allocations: 0 / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3929, allocations: 3.984 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3931, allocations: 165.2 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3931, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.3931, allocations: 15.92 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3931, allocations: 11.88 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3931, allocations: 0 / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3931, allocations: 4 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3931, allocations: 4 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3935, allocations: 185.8 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.3935, allocations: 23.78 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.3936, allocations: 8 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.3937, allocations: 7.938 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3937, allocations: 11.92 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.3937, allocations: 12.11 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.3939, allocations: 177.8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3939, allocations: 0 / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.3942, allocations: 63.86 kB / 0.5657 GB, free: 14.66 MB / 414.1 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.00191/0.3961, allocations: 0.5275 MB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.3964, allocations: 87.89 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3964, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3965, allocations: 43.92 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3969, allocations: 60.92 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.3975, allocations: 291.8 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3977, allocations: 111.4 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3978, allocations: 29.97 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.3978, allocations: 27.36 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3978, allocations: 4 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.008242/0.4061, allocations: 3.507 MB / 0.5703 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.399787487462163]