Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.002006/0.002006, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002126/0.002126, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3756/0.3756, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.019e-05, allocations: 2.312 kB / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00388/0.00391, allocations: 1.906 MB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006247, allocations: 1.099 MB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.006346, allocations: 0 / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.006922, allocations: 223.2 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.007459, allocations: 223 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.007785, allocations: 115.6 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.008192, allocations: 267.2 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.008314, allocations: 17.95 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.008558, allocations: 143.6 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.008812, allocations: 163.6 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.008848, allocations: 8 kB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.008998, allocations: 63.92 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.009117, allocations: 63.75 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.009203, allocations: 47.8 kB / 379.7 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.009603, allocations: 239 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.009606, allocations: 0 / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009607, allocations: 0 / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.009613, allocations: 0 / 379.9 MB, free: 324 kB / 346.7 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.001112/0.01072, allocations: 0.6193 MB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.01077, allocations: 16.03 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.01086, allocations: 32.75 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.01125, allocations: 228.6 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.01127, allocations: 8.375 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.0113, allocations: 4.375 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.01158, allocations: 117.5 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.0116, allocations: 7.875 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.01161, allocations: 4 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01162, allocations: 0 / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.01175, allocations: 39.97 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.01254, allocations: 0.5531 MB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.01296, allocations: 134.1 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01307, allocations: 43.48 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.01308, allocations: 4 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.01335, allocations: 132.4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.01335, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001498/0.01485, allocations: 0.5246 MB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.01493, allocations: 89.03 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.01544, allocations: 438.3 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.01547, allocations: 33.7 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.01566, allocations: 227.3 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.01575, allocations: 75.42 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.01585, allocations: 55.36 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003218/0.01617, allocations: 0.5352 MB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.0163, allocations: 51.97 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.01648, allocations: 102.7 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.0168, allocations: 182.8 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.0168, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000457/0.01726, allocations: 233.3 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.01728, allocations: 9.875 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01728, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.0173, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01747, allocations: 47.91 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.01748, allocations: 7.938 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.01756, allocations: 4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01758, allocations: 12.06 kB / 384.4 MB, free: 11.5 MB / 362.7 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.0001829/0.01776, allocations: 188.4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.01783, allocations: 39.77 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.0184, allocations: 260.8 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01841, allocations: 0 / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01841, allocations: 7.938 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.01842, allocations: 3.984 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.01964, allocations: 0.8154 MB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01964, allocations: 4.031 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01975, allocations: 39.92 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01976, allocations: 0 / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.01978, allocations: 7.984 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01978, allocations: 4 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.01979, allocations: 11.92 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.02051, allocations: 0.5365 MB / 386.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.02057, allocations: 27.81 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.02061, allocations: 8 kB / 386.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.02076, allocations: 11.98 kB / 386.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.02084, allocations: 27.91 kB / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.02087, allocations: 16 kB / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.02122, allocations: 294.9 kB / 386.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02122, allocations: 0 / 386.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.0216, allocations: 55.88 kB / 386.8 MB, free: 9.047 MB / 362.7 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 (24): * Single equations (assignments): 20 * 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.003822/0.02542, allocations: 0.5535 MB / 387.3 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.02587, allocations: 172 kB / 387.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.02587, allocations: 4.125 kB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.02622, allocations: 91.53 kB / 387.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.0268, allocations: 73.62 kB / 387.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02781, allocations: 0.5207 MB / 388.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.02801, allocations: 166.1 kB / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.02813, allocations: 41.91 kB / 388.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.02822, allocations: 40.48 kB / 388.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02822, allocations: 0 / 388.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of Templates: time 0.008642/0.03686, allocations: 3.314 MB / 391.7 MB, free: 4.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.146649720962159]