Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001338/0.001338, 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.001/0.001, allocations: 168.3 kB / 25.61 MB, free: 8.586 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.8999/0.8999, allocations: 177.1 MB / 206 MB, free: 4.512 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.1372/0.1372, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.891e-05, allocations: 6.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001798/0.001817, allocations: 1.744 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.002814, allocations: 0.9974 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.002896, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.00318, allocations: 35.77 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.003449, allocations: 103.4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.003608, allocations: 75.67 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.003737, allocations: 111.6 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.003812, allocations: 8 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.003876, allocations: 63.77 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.003934, allocations: 23.91 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003946, allocations: 8 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.004007, allocations: 43.92 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.004045, allocations: 19.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.004073, allocations: 23.88 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.004199, allocations: 103.6 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.0042, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004201, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.004204, allocations: 0 / 382.7 MB, free: 19.96 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.0003022/0.004506, allocations: 447.8 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.004532, allocations: 16.02 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.004562, allocations: 16.84 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004665, allocations: 145.1 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004679, allocations: 384 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.004694, allocations: 4.375 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.745e-05/0.004771, allocations: 62.88 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004781, allocations: 3.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.004787, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004792, allocations: 7.984 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.004814, allocations: 7.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.004988, allocations: 276.3 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.005063, allocations: 51.16 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.005082, allocations: 15.67 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.005092, allocations: 0 / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/0.005163, allocations: 72.92 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.005164, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002872/0.005451, allocations: 129.8 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.005471, allocations: 59.39 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.005549, allocations: 229.8 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005558, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.005594, allocations: 154.8 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.005617, allocations: 27.78 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.005643, allocations: 27.36 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.005692, allocations: 0.4962 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.005704, allocations: 8 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.005726, allocations: 31.36 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.005764, allocations: 55.41 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005765, allocations: 0 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.71e-05/0.005842, allocations: 93.53 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005853, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005857, allocations: 3.938 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.005867, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.005921, allocations: 12 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.005924, allocations: 3.984 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.005951, allocations: 8 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.005957, allocations: 0 / 385.2 MB, free: 17.28 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 4.632e-05/0.006003, allocations: 156.6 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.006019, allocations: 27.88 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.006125, allocations: 103 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006127, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006128, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006131, allocations: 3.938 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.006328, allocations: 361.6 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006329, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.006351, allocations: 8 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006353, allocations: 0 / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.006358, allocations: 7.938 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00636, allocations: 4.031 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00636, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.718e-05/0.006447, allocations: 263.7 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.006457, allocations: 11.94 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.00647, allocations: 0 / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.006509, allocations: 4 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.006529, allocations: 11.98 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.006538, allocations: 0 / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.006576, allocations: 163.1 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006576, allocations: 0 / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.006744, allocations: 27.92 kB / 386.3 MB, free: 16.07 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.0008833/0.007627, allocations: 447.7 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.322e-05/0.007711, allocations: 51.59 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.007712, allocations: 0 / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.007739, allocations: 31.61 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.007942, allocations: 34.75 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.008166, allocations: 216 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.683e-05/0.008193, allocations: 79.19 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.008224, allocations: 13.28 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.008283, allocations: 86.19 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008283, allocations: 0 / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.0029/0.01118, allocations: 2.064 MB / 389.3 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.170895209070295]