Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001472/0.001472, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001277/0.001277, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2652/0.2652, allocations: 34.26 MB / 296 MB, free: 0.6914 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.368e-05, allocations: 10.31 kB / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002587/0.002611, allocations: 1.75 MB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.004859, allocations: 1.73 MB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.004939, allocations: 0 / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.005215, allocations: 39.7 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.005539, allocations: 103.5 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.005706, allocations: 83.59 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.00587, allocations: 107.6 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.005958, allocations: 11.98 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.006047, allocations: 59.77 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.006151, allocations: 35.89 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.006169, allocations: 8 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.006334, allocations: 103.8 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.006386, allocations: 15.92 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.006436, allocations: 23.92 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.0067, allocations: 163.4 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006704, allocations: 3.984 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006705, allocations: 0 / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006709, allocations: 0 / 382.3 MB, free: 14.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000487/0.007196, allocations: 447.8 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.00723, allocations: 8.031 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.007284, allocations: 16.89 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.007477, allocations: 144 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.007494, allocations: 8.375 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.007514, allocations: 12.25 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.007673, allocations: 111.4 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.007685, allocations: 3.953 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.007695, allocations: 0 / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007703, allocations: 0 / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.007746, allocations: 15.98 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.008056, allocations: 287.7 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.008171, allocations: 67.08 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.008206, allocations: 15.69 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.008218, allocations: 4 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.00833, allocations: 65.05 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.008331, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.008755, allocations: 149.4 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.008805, allocations: 85.11 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.008962, allocations: 216.8 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.008976, allocations: 33.64 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.009036, allocations: 146.9 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.009064, allocations: 23.8 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.009108, allocations: 31.36 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.009236, allocations: 0.4962 MB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.009269, allocations: 11.98 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.00933, allocations: 68.75 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.009404, allocations: 43.45 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.009405, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001539/0.009559, allocations: 105.5 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.009575, allocations: 4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009579, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.009592, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.009683, allocations: 19.94 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.009691, allocations: 3.984 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.009734, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.009743, allocations: 4 kB / 384.9 MB, free: 11.76 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 (10): * Single equations (assignments): 10 * 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 8.467e-05/0.009828, allocations: 164.5 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.009852, allocations: 7.953 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.01004, allocations: 110.4 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01004, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01005, allocations: 3.938 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01005, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.01039, allocations: 396.9 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.0104, allocations: 384 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.01043, allocations: 8 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01043, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01044, allocations: 8 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01044, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01044, allocations: 4.031 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01061, allocations: 259.4 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01063, allocations: 11.94 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01065, allocations: 4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.01072, allocations: 4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01075, allocations: 15.86 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01077, allocations: 4 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.01086, allocations: 161.6 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01086, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01114, allocations: 47.86 kB / 386.1 MB, free: 10.49 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: 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 (9): * Single equations (assignments): 7 * 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.001256/0.01239, allocations: 0.5472 MB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.01255, allocations: 55.59 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01255, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.0126, allocations: 31.62 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.0129, allocations: 38.48 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.01329, allocations: 201.9 kB / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.01334, allocations: 63.34 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.0134, allocations: 25.39 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.01345, allocations: 24.48 kB / 387.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01345, allocations: 0 / 387.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of Templates: time 0.005058/0.01851, allocations: 2.527 MB / 389.6 MB, free: 7.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.355110533069819]