Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001442/0.001442, allocations: 81.97 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.001928/0.001928, allocations: 171 kB / 25.61 MB, free: 8.582 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.9399/0.9399, allocations: 177.1 MB / 206 MB, free: 4.477 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.1617/0.1617, allocations: 34.25 MB / 296.8 MB, free: 13.93 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.622e-05, allocations: 2.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003239/0.003265, allocations: 1.696 MB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.004965, allocations: 0.978 MB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.005064, allocations: 8 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.005458, allocations: 55.78 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.005997, allocations: 111.4 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.006336, allocations: 75.61 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.006597, allocations: 111.7 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.62e-05/0.006663, allocations: 4.234 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.006811, allocations: 55.77 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.006943, allocations: 47.88 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.006964, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.007068, allocations: 39.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.007135, allocations: 19.92 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.007184, allocations: 23.86 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.007405, allocations: 87.66 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.007409, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00741, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.007415, allocations: 0 / 382.7 MB, free: 20 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005695/0.007985, allocations: 439.9 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.008041, allocations: 12.03 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.008108, allocations: 12.89 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.008313, allocations: 153.1 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.008335, allocations: 4.375 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.008346, allocations: 4.375 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.008477, allocations: 62.88 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008488, allocations: 3.938 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.008496, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.008502, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.008541, allocations: 7.984 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.008671, allocations: 113.2 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.008776, allocations: 43.14 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.008804, allocations: 19.67 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.008816, allocations: 7.938 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.008921, allocations: 64.98 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.008922, allocations: 0 / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001937/0.009116, allocations: 85.52 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.009141, allocations: 55.41 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.009272, allocations: 221.8 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.009284, allocations: 25.7 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.009325, allocations: 158.8 kB / 384.1 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.009361, allocations: 11.94 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.009402, allocations: 27.38 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.009481, allocations: 0.5 MB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.009502, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.009534, allocations: 23.36 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.009583, allocations: 35.36 kB / 384.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.009586, allocations: 0 / 384.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.009688, allocations: 77.53 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.009704, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009709, allocations: 4.031 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.009724, allocations: 7.938 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.009808, allocations: 11.98 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009813, allocations: 480 / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.009862, allocations: 7.938 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.00987, allocations: 4 kB / 384.9 MB, free: 17.6 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 (7): * Single equations (assignments): 7 * 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 7.425e-05/0.009944, allocations: 168.5 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.009968, allocations: 11.91 kB / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.01012, allocations: 86.8 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01013, allocations: 7.938 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.01013, allocations: 4 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01013, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.561e-05/0.01023, allocations: 113.2 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01023, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.01026, allocations: 4 kB / 385.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01026, allocations: 4 kB / 385.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.01027, allocations: 3.984 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01027, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01027, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.0104, allocations: 124.1 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01042, allocations: 7.953 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01044, allocations: 11.98 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.01048, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.01051, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01053, allocations: 15.92 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.0106, allocations: 159.1 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0106, allocations: 4 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.01085, allocations: 16 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001132/0.01198, allocations: 384.2 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01209, allocations: 39.61 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01209, allocations: 0 / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.01212, allocations: 23.8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01238, allocations: 42.73 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.01273, allocations: 200 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.01276, allocations: 75.27 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.0128, allocations: 8.484 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.01287, allocations: 86.19 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01287, allocations: 0 / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of Templates: time 0.004513/0.01738, allocations: 1.8 MB / 388.2 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.204910906031728]