Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001237/0.001237, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00153/0.00153, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.184/1.184, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3167/0.3167, allocations: 34.26 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.904e-05/4.174e-05, allocations: 2.312 kB / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004806/0.004848, allocations: 1.75 MB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.007315, allocations: 1.001 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.007491, allocations: 4 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.00798, allocations: 55.62 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005896/0.00857, allocations: 95.53 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.008931, allocations: 71.67 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.009215, allocations: 115.6 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.009356, allocations: 4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.009549, allocations: 59.81 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.009677, allocations: 27.86 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.009703, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.009857, allocations: 47.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.00994, allocations: 27.91 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.01, allocations: 19.92 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.0103, allocations: 103.6 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.01031, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01031, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.01032, allocations: 0 / 382 MB, free: 14.89 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.0007401/0.01106, allocations: 455.8 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.254e-05/0.01113, allocations: 11.97 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.01121, allocations: 12.89 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.01148, allocations: 156.9 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.0115, allocations: 4.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.01153, allocations: 4.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.01172, allocations: 58.94 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.01174, allocations: 3.938 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.01175, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01177, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.01181, allocations: 11.97 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.01225, allocations: 264.4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.01241, allocations: 47.16 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.01245, allocations: 23.69 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01248, allocations: 4 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.01263, allocations: 68.92 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.01263, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.01319, allocations: 145.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.01324, allocations: 51.41 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.01347, allocations: 233.8 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01349, allocations: 33.64 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.0136, allocations: 150.9 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.01366, allocations: 31.77 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.01373, allocations: 27.38 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.01396, allocations: 0.504 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.014, allocations: 8 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.01406, allocations: 27.36 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.01414, allocations: 47.38 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01414, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.01434, allocations: 93.5 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.01436, allocations: 10.19 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.01437, allocations: 4.031 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.01439, allocations: 3.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.0145, allocations: 12 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01451, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.01456, allocations: 3.984 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01458, allocations: 4 kB / 384.4 MB, free: 12.19 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 ($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 0.0001389/0.01472, allocations: 160.6 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.01475, allocations: 19.84 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.01501, allocations: 103.1 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01501, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01502, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01502, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01545, allocations: 365.6 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01545, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.0155, allocations: 8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.0155, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.01551, allocations: 384 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01552, allocations: 3.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01552, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.01576, allocations: 267.4 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.01578, allocations: 11.98 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.01581, allocations: 7.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.01588, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.01592, allocations: 7.984 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01593, allocations: 0 / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.01605, allocations: 176.1 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01605, allocations: 0 / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.01634, allocations: 27.92 kB / 385.6 MB, free: 10.97 MB / 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) * 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.001536/0.01787, allocations: 430.3 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.01808, allocations: 55.56 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01808, allocations: 0 / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.01813, allocations: 31.62 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.01855, allocations: 45.36 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.01916, allocations: 225.8 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.01923, allocations: 71.33 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.01929, allocations: 25.08 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.0194, allocations: 86.19 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/0.0194, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.006184/0.02559, allocations: 2.041 MB / 388.6 MB, free: 8.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.571705504786223]