Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001326/0.001326, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001432/0.001432, allocations: 163.5 kB / 24.99 MB, free: 8.355 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 1.122/1.122, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.3256/0.3256, allocations: 34.25 MB / 296 MB, free: 0.7734 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.77e-05, allocations: 6.25 kB / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002776/0.002814, allocations: 1.711 MB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.00408, allocations: 0.9897 MB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.004176, allocations: 0 / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.004522, allocations: 51.75 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.004917, allocations: 111.4 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.005182, allocations: 75.66 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.005358, allocations: 99.64 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.005401, allocations: 16.16 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.00549, allocations: 47.89 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.005571, allocations: 23.92 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.005588, allocations: 4 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.005667, allocations: 27.98 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005729, allocations: 35.84 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.005774, allocations: 15.94 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005965, allocations: 103.5 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005968, allocations: 0 / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005969, allocations: 0 / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005974, allocations: 0 / 381.4 MB, free: 15.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008399/0.006814, allocations: 475.7 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.006853, allocations: 12.03 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.006905, allocations: 12.84 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.007086, allocations: 165.2 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.007106, allocations: 4.375 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.007118, allocations: 8.312 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.007239, allocations: 54.94 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007248, allocations: 3.938 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.007258, allocations: 0 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.007266, allocations: 3.938 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.007307, allocations: 19.98 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.007485, allocations: 148.7 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.007584, allocations: 47.11 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.007616, allocations: 23.59 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.007628, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.007731, allocations: 65.05 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.007732, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002033/0.007935, allocations: 93.53 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.00798, allocations: 67.33 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.008175, allocations: 269.6 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00819, allocations: 29.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.00827, allocations: 166.9 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.008309, allocations: 11.91 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.008343, allocations: 23.38 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.008505, allocations: 0.5001 MB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.008535, allocations: 12 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.008569, allocations: 27.36 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.008622, allocations: 39.38 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008624, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001498/0.008774, allocations: 77.53 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.008795, allocations: 8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008802, allocations: 3.938 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.008818, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.008892, allocations: 11.98 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.0089, allocations: 3.938 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.008938, allocations: 4 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.008944, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.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 9.565e-05/0.009039, allocations: 164.6 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.00906, allocations: 15.91 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.009221, allocations: 90.91 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.009224, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.009228, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.009235, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.009367, allocations: 168.5 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.00937, allocations: 4.359 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.009395, allocations: 11.88 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.009399, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.009409, allocations: 8 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.009413, allocations: 7.922 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009414, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.009528, allocations: 120.3 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.009546, allocations: 11.91 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.009565, allocations: 4 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.009588, allocations: 3.938 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.009633, allocations: 3.984 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.009649, allocations: 8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.009758, allocations: 192.5 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009758, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.009921, allocations: 24 kB / 384.6 MB, free: 12.09 MB / 362.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.0009546/0.01088, allocations: 379.4 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.011, allocations: 43.66 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.011, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.01104, allocations: 27.62 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.01124, allocations: 23.97 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.01166, allocations: 242.5 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.01171, allocations: 67.33 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.65e-05/0.01175, allocations: 12.48 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.01178, allocations: 16.5 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01178, allocations: 4.062 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003719/0.0155, allocations: 1.673 MB / 387.1 MB, free: 9.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.5180655808653682]