Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001408/0.001408, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001591/0.001591, allocations: 161 kB / 24.56 MB, free: 16 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.578 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.2663/0.2663, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.425e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.0024/0.002424, allocations: 1.855 MB / 378 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003788, allocations: 1.08 MB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.003864, allocations: 11.94 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.004332, allocations: 307.1 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.004715, allocations: 263 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.004882, allocations: 107.6 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.005138, allocations: 271.2 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.005185, allocations: 9.812 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005325, allocations: 147.6 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.005791, allocations: 207.6 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.005813, allocations: 4 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.005905, allocations: 51.92 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.00603, allocations: 151.5 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.006107, allocations: 71.66 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.006401, allocations: 279 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006404, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006405, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.006411, allocations: 0 / 380.9 MB, free: 15.79 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.0007206/0.007132, allocations: 0.7979 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.007167, allocations: 8.031 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.007237, allocations: 56.56 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.007567, allocations: 340.7 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.007588, allocations: 384 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.007605, allocations: 8.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.007775, allocations: 94.28 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.007787, allocations: 7.875 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.007798, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.007807, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.007854, allocations: 19.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.008137, allocations: 312.2 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.008285, allocations: 102.1 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.008328, allocations: 31.38 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.008347, allocations: 3.984 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.008483, allocations: 112.3 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.91e-07/0.008484, allocations: 4 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002755/0.00876, allocations: 181.2 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.008797, allocations: 77.11 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.009325, allocations: 0.7175 MB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.009343, allocations: 29.69 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.009517, allocations: 306.8 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.009562, allocations: 31.73 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.009606, allocations: 35.36 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.009783, allocations: 0.5626 MB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.009817, allocations: 11.98 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.009874, allocations: 54.73 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.009963, allocations: 79.19 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.009967, allocations: 7.984 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001623/0.01013, allocations: 149.2 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01015, allocations: 4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01015, allocations: 3.938 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01017, allocations: 7.938 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.01026, allocations: 19.98 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01027, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.01032, allocations: 15.94 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.01033, allocations: 4.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.413e-05/0.01042, allocations: 169.1 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.01046, allocations: 51.67 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.01066, allocations: 173.8 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01066, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01067, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01067, allocations: 4 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.01089, allocations: 324.4 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01089, allocations: 0 / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.01092, allocations: 8 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01092, allocations: 4 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01094, allocations: 8.25 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01094, allocations: 7.938 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01094, allocations: 0 / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.01111, allocations: 215.6 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.01117, allocations: 59.66 kB / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.0112, allocations: 4 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.01124, allocations: 11.92 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.01128, allocations: 11.98 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01129, allocations: 8 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.01161, allocations: 490.7 kB / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01161, allocations: 0 / 386.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01178, 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.0008236/0.0126, allocations: 398.7 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01276, allocations: 67.59 kB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01276, allocations: 0 / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.01282, 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.0002783/0.0131, allocations: 65.31 kB / 387.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.0141, allocations: 0.6754 MB / 387.8 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.01418, allocations: 132.2 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.365e-05/0.01424, allocations: 42.95 kB / 388 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.0143, allocations: 36.48 kB / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0143, allocations: 0 / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of Templates: time 0.006138/0.02043, allocations: 4.056 MB / 392.1 MB, free: 4.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.412617728114128]