Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009936/0.0009936, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001075/0.001075, allocations: 161 kB / 24.56 MB, free: 12 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 0.9618/0.9618, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2542/0.2542, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.699e-05, allocations: 6.25 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002416/0.002443, allocations: 1.852 MB / 378 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.00384, allocations: 1.087 MB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.003945, allocations: 4 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.004443, allocations: 307.1 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.004915, allocations: 263 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.005188, allocations: 103.6 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.005524, allocations: 267.2 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.005574, allocations: 17.8 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.005746, allocations: 151.6 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.005944, allocations: 203.6 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.005979, allocations: 12 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.0061, allocations: 43.92 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.006227, allocations: 147.5 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.006312, allocations: 71.67 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.006681, allocations: 286.9 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.006687, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006688, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.006697, allocations: 0 / 380.9 MB, free: 15.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001021/0.007718, allocations: 0.7901 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007755, allocations: 8.031 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.007838, allocations: 56.56 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.008156, allocations: 340.7 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.008176, allocations: 4.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.008186, allocations: 8.312 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.008343, allocations: 90.3 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.008353, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008365, allocations: 7.984 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.008372, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.008415, allocations: 15.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.008675, allocations: 320.2 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.008814, allocations: 94.22 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.008854, allocations: 31.36 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.008865, allocations: 4 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.008989, allocations: 112.3 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.00899, allocations: 0 / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002586/0.009248, allocations: 181.1 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.009279, allocations: 81.11 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.009759, allocations: 0.7136 MB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.009779, allocations: 29.7 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.009918, allocations: 306.8 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.009953, allocations: 35.73 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.00999, allocations: 27.38 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01014, allocations: 0.5665 MB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.01018, allocations: 11.94 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.01022, allocations: 62.47 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.0103, allocations: 83.19 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.0103, allocations: 4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001454/0.01045, allocations: 145.3 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01046, allocations: 4 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01047, allocations: 7.938 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01048, allocations: 0 / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.01057, allocations: 27.92 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01057, allocations: 7.938 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.01062, allocations: 11.94 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01063, allocations: 8.062 kB / 385 MB, free: 11.34 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.402e-05/0.01073, allocations: 161.2 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.01078, allocations: 59.67 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.01098, allocations: 173.8 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01098, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01098, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.01099, allocations: 4 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.0112, allocations: 320.4 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.0112, allocations: 0 / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.01123, allocations: 15.98 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01124, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01125, allocations: 7.938 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01125, allocations: 4.188 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01125, allocations: 0 / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01142, allocations: 215.7 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.01148, allocations: 63.59 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.0115, allocations: 4 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.01155, allocations: 7.922 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.01158, allocations: 11.98 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01159, allocations: 8 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003283/0.01192, allocations: 490.7 kB / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01192, allocations: 0 / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01211, allocations: 44 kB / 386.6 MB, free: 9.703 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009022/0.01301, allocations: 394.5 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01315, allocations: 67.59 kB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01315, allocations: 0 / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.0132, allocations: 47.59 kB / 387.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01346, allocations: 73.92 kB / 387.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.01414, allocations: 0.6715 MB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.01421, allocations: 132.2 kB / 388 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.791e-05/0.01427, allocations: 42.95 kB / 388 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.01433, allocations: 32.48 kB / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01433, allocations: 0 / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of Templates: time 0.006788/0.02112, allocations: 4.3 MB / 392.3 MB, free: 4.074 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.1434530918486416]