Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001406/0.001406, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001075/0.001075, allocations: 169.4 kB / 25.61 MB, free: 8.449 MB / 18.57 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 0.9975/0.9975, allocations: 177.2 MB / 206.1 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.132/0.132, allocations: 32.8 MB / 295.4 MB, free: 15.34 MB / 282.7 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.3 MB, free: 25.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.563e-05, allocations: 5.688 kB / 377.4 MB, free: 25.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001939/0.001954, allocations: 1.753 MB / 379.1 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003, allocations: 0.9936 MB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.003084, allocations: 0 / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.003414, allocations: 39.7 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.003879, allocations: 95.47 kB / 380.2 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.004136, allocations: 87.59 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.00431, allocations: 103.6 kB / 380.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004419, allocations: 11.97 kB / 380.4 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.004512, allocations: 59.78 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.633e-05/0.004589, allocations: 27.91 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004603, allocations: 4 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.004692, allocations: 47.91 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.004736, allocations: 11.94 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.004765, allocations: 19.92 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004921, allocations: 99.59 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004925, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004926, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.004931, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.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.0003578/0.005288, allocations: 439.9 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.005322, allocations: 19.98 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.005357, allocations: 12.84 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.005494, allocations: 151.3 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.00551, allocations: 384 / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.005525, allocations: 4.375 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.005618, allocations: 62.88 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.005629, allocations: 3.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.005637, allocations: 4 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005641, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.005666, allocations: 7.984 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.005876, allocations: 264.4 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.005966, allocations: 51.09 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.005987, allocations: 19.67 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006, allocations: 3.984 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/0.006083, allocations: 64.98 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006084, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003288/0.006413, allocations: 137.5 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.006436, allocations: 55.41 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.006511, allocations: 214.5 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.00652, allocations: 25.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.006554, allocations: 154.8 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.006577, allocations: 23.78 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.006611, allocations: 31.36 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.006662, allocations: 0.4962 MB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.006681, allocations: 11.98 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.006705, allocations: 31.3 kB / 382.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.006747, allocations: 43.36 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006748, allocations: 4.375 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.38e-05/0.006842, allocations: 89.5 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006856, allocations: 7.938 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.006861, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006873, allocations: 8 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.006938, allocations: 15.98 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.006941, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.006971, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.006976, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.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 ($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 (10): * Single equations (assignments): 10 * 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 5.985e-05/0.007036, allocations: 164.5 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.007055, allocations: 27.86 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.00719, allocations: 102.5 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007193, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007195, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.007199, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.00744, allocations: 353.6 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007442, allocations: 4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.007469, allocations: 12 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007471, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007477, allocations: 4 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007479, allocations: 4.031 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007481, allocations: 3.984 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007588, allocations: 255.7 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007598, allocations: 7.953 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.007615, allocations: 8 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.007656, allocations: 0 / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.007684, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.007696, allocations: 4 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.007736, allocations: 156.7 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007736, allocations: 0 / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.007919, allocations: 31.92 kB / 384.2 MB, free: 18.27 MB / 314.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009151/0.008835, allocations: 433.7 kB / 384.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.008943, allocations: 51.55 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008945, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.008979, allocations: 31.66 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.009227, allocations: 46.14 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.009527, allocations: 212.3 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.687e-05/0.009554, allocations: 67.2 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.009591, allocations: 16.95 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.009652, allocations: 90.19 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009653, allocations: 0 / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of Templates: time 0.003671/0.01332, allocations: 2.054 MB / 387.2 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.404014813248068]