Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0009498/0.0009498, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009898/0.0009898, allocations: 177.6 kB / 24.92 MB, free: 8.652 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2628/0.2628, allocations: 34.25 MB / 296.1 MB, free: 0.7344 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.987e-05, allocations: 3.188 kB / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.006026/0.006046, allocations: 2.038 MB / 327.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.01089, allocations: 1.18 MB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.01099, allocations: 3.938 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.01159, allocations: 203.3 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.01194, allocations: 207.1 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.01224, allocations: 159.5 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.01254, allocations: 271.6 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.01263, allocations: 22.55 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.01281, allocations: 143.6 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.01302, allocations: 103.7 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.01304, allocations: 16 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.01317, allocations: 59.84 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.01325, allocations: 59.77 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.01631, allocations: 55.77 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.01657, allocations: 175.4 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01657, allocations: 0 / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01657, allocations: 0 / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.01658, allocations: 3.938 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005554/0.01713, allocations: 470.3 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01717, allocations: 8.031 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.01721, allocations: 20.92 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.01748, allocations: 226.5 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.0175, allocations: 8.312 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.01752, allocations: 4.375 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.01767, allocations: 83.5 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01768, allocations: 3.938 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.01769, allocations: 4 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.01769, allocations: 0 / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.01774, allocations: 25.58 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.0181, allocations: 209.5 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.01823, allocations: 130.7 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.01827, allocations: 25.7 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.01828, allocations: 3.938 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.01841, allocations: 101.1 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.01841, allocations: 0 / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001814/0.01859, allocations: 103.7 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.01862, allocations: 81.11 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.01885, allocations: 280.7 kB / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01887, allocations: 29.7 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.01893, allocations: 116.7 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.01896, allocations: 27.78 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.019, allocations: 37.69 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.01909, allocations: 334.8 kB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.01912, allocations: 14.81 kB / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.02218, allocations: 73.98 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.02227, allocations: 79.84 kB / 332.5 MB, free: 208 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02227, allocations: 0 / 332.5 MB, free: 208 kB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001319/0.0224, allocations: 103.2 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.02241, allocations: 4 kB / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02242, allocations: 4 kB / 332.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.02243, allocations: 0 / 332.6 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.02264, allocations: 27.92 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.02265, allocations: 0 / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.02271, allocations: 15.95 kB / 332.6 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.02272, allocations: 8 kB / 332.6 MB, free: 36 kB / 298.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.742e-05/0.02281, allocations: 124.7 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.02284, allocations: 19.92 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.02302, allocations: 103.6 kB / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02302, allocations: 0 / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.02302, allocations: 4 kB / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02303, allocations: 4 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.02315, allocations: 121.8 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.02315, allocations: 0 / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.02319, allocations: 19.98 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.02319, allocations: 3.938 kB / 333 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.0232, allocations: 7.938 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0232, allocations: 0 / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0232, allocations: 0 / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.0233, allocations: 126.4 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.02333, allocations: 23.8 kB / 333.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.02335, allocations: 7.938 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.02339, allocations: 7.984 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.02342, allocations: 11.98 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.02343, allocations: 8 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.02352, allocations: 111.5 kB / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02352, allocations: 0 / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.02367, allocations: 36 kB / 333.4 MB, free: 15.24 MB / 314.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001163/0.02483, allocations: 0.5253 MB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.02495, allocations: 52.77 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.02495, allocations: 4 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.025, allocations: 40.91 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.02521, allocations: 64.62 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.02564, allocations: 364.2 kB / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.02569, allocations: 83.97 kB / 334.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.02575, allocations: 26.09 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.02585, allocations: 99.28 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02585, allocations: 0 / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Templates: time 0.005939/0.03179, allocations: 3.501 MB / 338.1 MB, free: 10.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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: 2.9901508670300245]