Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001767/0.001767, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002265/0.002265, allocations: 165.7 kB / 24.27 MB, free: 168 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3649/0.3649, allocations: 32.79 MB / 293.9 MB, free: 1.195 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.693e-05, allocations: 2.312 kB / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00332/0.003347, allocations: 1.723 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005255, allocations: 0.9781 MB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.005315, allocations: 0 / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.005591, allocations: 47.69 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.005909, allocations: 103.5 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.006125, allocations: 75.67 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.006316, allocations: 119.6 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.006394, allocations: 4 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.006505, allocations: 55.83 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.006589, allocations: 23.91 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.006611, allocations: 8 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.006712, allocations: 43.92 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.006783, allocations: 35.8 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.006835, allocations: 23.91 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.007099, allocations: 135.5 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007102, allocations: 0 / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.007102, allocations: 0 / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.007107, allocations: 4 kB / 378.7 MB, free: 1.484 MB / 346.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.0006248/0.007732, allocations: 373.3 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.007776, allocations: 12.03 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.007842, allocations: 20.84 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.008152, allocations: 166.4 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.008166, allocations: 384 / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.008196, allocations: 8.375 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.008363, allocations: 54.23 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.008379, allocations: 7.891 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.008393, allocations: 3.984 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.008398, allocations: 8 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.405e-05/0.008482, allocations: 19.98 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.008896, allocations: 236.6 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.009111, allocations: 58.61 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.009179, allocations: 24.78 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.009195, allocations: 0 / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.009366, allocations: 67.39 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009367, allocations: 0 / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000628/0.009995, allocations: 201.2 kB / 379.9 MB, free: 132 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.01004, allocations: 51.41 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.0104, allocations: 295.1 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01042, allocations: 29.7 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.01052, allocations: 120 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.01055, allocations: 23.84 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.0106, allocations: 21.72 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01079, allocations: 334.8 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.01086, allocations: 12 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.01094, allocations: 45.7 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01108, allocations: 61.64 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01108, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002253/0.0113, allocations: 117.5 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01131, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01132, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.01134, allocations: 4 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.01143, allocations: 19.92 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01144, allocations: 384 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.01149, allocations: 12.03 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.0115, allocations: 0 / 381.1 MB, free: 14.93 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.0001372/0.01164, allocations: 149.7 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.01167, allocations: 19.91 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.01198, allocations: 143.1 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01198, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01198, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01199, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.01252, allocations: 358.9 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01252, allocations: 4.031 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.01257, allocations: 11.98 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01257, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01258, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01259, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01259, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.01303, allocations: 220.2 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01306, allocations: 15.89 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.01308, allocations: 8 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.01316, allocations: 0 / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.01321, allocations: 15.92 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.01322, allocations: 8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.01345, allocations: 220.5 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01345, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01373, allocations: 24 kB / 382.3 MB, free: 13.69 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.002276/0.01601, allocations: 497.6 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.01627, allocations: 59.91 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01628, allocations: 0 / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.01637, allocations: 31.92 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.0168, allocations: 38.56 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.01745, allocations: 310.1 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.01758, allocations: 109.1 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.01765, allocations: 21.27 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.0177, allocations: 16.5 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0177, allocations: 0 / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Templates: time 0.005659/0.02335, allocations: 1.898 MB / 385.2 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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: 4.847568069933914]