Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001476/0.001476, 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.001828/0.001828, allocations: 161.4 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.633 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.2908/0.2908, allocations: 34.25 MB / 295.7 MB, free: 0.75 MB / 266.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.853e-05, allocations: 10.25 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002785/0.002814, allocations: 1.852 MB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004243, allocations: 1.087 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.004335, allocations: 4 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.004853, allocations: 303.1 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.005377, allocations: 271 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.005657, allocations: 107.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.006042, allocations: 271.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.006119, allocations: 9.797 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.006346, allocations: 151.6 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.006624, allocations: 207.6 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.006652, allocations: 8 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.00679, allocations: 47.92 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.006952, allocations: 139.5 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.567e-05/0.007048, allocations: 75.67 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.007439, allocations: 286.9 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.007443, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007444, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.007453, allocations: 0 / 382.9 MB, free: 13.77 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.0007832/0.008236, allocations: 0.7902 MB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.008283, allocations: 12.03 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.97e-05/0.008382, allocations: 60.56 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.008756, allocations: 328.6 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.008783, allocations: 4.375 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.008798, allocations: 8.359 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.009001, allocations: 94.3 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.009011, allocations: 3.938 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.009022, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.009032, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.009091, allocations: 19.91 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.009417, allocations: 316.2 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.009571, allocations: 94.16 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.00962, allocations: 43.3 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.009634, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.009775, allocations: 104.4 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.009777, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003034/0.01008, allocations: 181.1 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01013, allocations: 85.11 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.01075, allocations: 0.7096 MB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.01078, allocations: 29.7 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.01097, allocations: 314.8 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.01103, allocations: 35.72 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.01109, allocations: 31.38 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.01131, allocations: 0.5587 MB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.01136, allocations: 19.98 kB / 386.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.01141, allocations: 54.48 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.01151, allocations: 83.17 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01151, allocations: 0 / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001834/0.01169, allocations: 153.3 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.01172, allocations: 6.5 kB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01172, allocations: 7.938 kB / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.01174, allocations: 0 / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01187, allocations: 27.92 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01188, allocations: 0 / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.01194, allocations: 7.953 kB / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01195, allocations: 8 kB / 387.1 MB, free: 9.332 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 0.000121/0.01207, allocations: 165.2 kB / 387.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.01212, allocations: 63.72 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.01238, allocations: 169.8 kB / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01238, allocations: 0 / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01239, allocations: 4 kB / 387.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01239, allocations: 3.984 kB / 387.4 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.01263, allocations: 316.6 kB / 387.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.01264, allocations: 4 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.01268, allocations: 15.92 kB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.01268, allocations: 4 kB / 387.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01269, allocations: 0 / 387.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.0127, allocations: 11.88 kB / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.0127, allocations: 0 / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.0129, allocations: 211.7 kB / 388 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.01296, allocations: 63.66 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.01299, allocations: 4 kB / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.01304, allocations: 11.94 kB / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.01309, allocations: 11.92 kB / 388.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.0131, allocations: 7.984 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003531/0.01345, allocations: 486.8 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.01346, allocations: 0 / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01367, allocations: 47.98 kB / 388.6 MB, free: 7.688 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.0009763/0.01465, allocations: 378.8 kB / 389 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.01484, allocations: 71.59 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01484, allocations: 0 / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.0149, allocations: 43.61 kB / 389.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01523, allocations: 80.2 kB / 389.2 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.01602, allocations: 0.6754 MB / 389.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.01611, allocations: 124.2 kB / 390 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.0162, allocations: 47.44 kB / 390 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.01626, allocations: 28.5 kB / 390.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01626, allocations: 4 kB / 390.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of Templates: time 0.007888/0.02415, allocations: 4.305 MB / 394.4 MB, free: 2.055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2897630417719483]