Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009562/0.0009562, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001719/0.001719, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9453/0.9453, allocations: 177.1 MB / 206 MB, free: 4.5 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.1337/0.1337, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.908e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002631/0.002661, allocations: 1.746 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004531, allocations: 1.722 MB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.004614, allocations: 0 / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.004897, allocations: 39.7 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.005224, allocations: 99.53 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.00542, allocations: 83.53 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.00558, allocations: 115.6 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.005697, allocations: 11.98 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.00579, allocations: 55.83 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005901, allocations: 35.89 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.005917, allocations: 4 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.006079, allocations: 95.83 kB / 381.4 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.006129, allocations: 27.91 kB / 381.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.006164, allocations: 19.92 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.006383, allocations: 159.5 kB / 381.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006386, allocations: 0 / 381.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006387, allocations: 0 / 381.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006392, allocations: 4 kB / 381.6 MB, free: 21.29 MB / 314.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.0004035/0.006795, allocations: 463.6 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.006833, allocations: 15.98 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.006877, allocations: 16.88 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.007022, allocations: 145 kB / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.007038, allocations: 384 / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.007054, allocations: 4.375 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.007179, allocations: 111.4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.007188, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.007196, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.007202, allocations: 8 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.00723, allocations: 15.92 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.007456, allocations: 252.4 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.007549, allocations: 63.06 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.007572, allocations: 15.69 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.007583, allocations: 3.938 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.935e-05/0.007672, allocations: 65.05 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.007674, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003316/0.008005, allocations: 141.4 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.008033, allocations: 77.11 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.008138, allocations: 212.7 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.00815, allocations: 29.7 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.008187, allocations: 146.8 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.008213, allocations: 23.84 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.008254, allocations: 31.36 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.008305, allocations: 0.4922 MB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.008327, allocations: 11.98 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.008365, allocations: 68.69 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.008415, allocations: 47.39 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008416, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000116/0.008532, allocations: 85.56 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008546, allocations: 6.344 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008551, allocations: 0 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.008561, allocations: 7.938 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.008627, allocations: 12 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.008631, allocations: 4.141 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.008671, allocations: 15.88 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.008678, allocations: 8.031 kB / 384.1 MB, free: 18.48 MB / 314.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 5.738e-05/0.008736, allocations: 164.5 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.008756, allocations: 11.95 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.008897, allocations: 98.44 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008899, allocations: 0 / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008901, allocations: 384 / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.008905, allocations: 3.938 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.009151, allocations: 357.6 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.009154, allocations: 8 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.009187, allocations: 15.97 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.00919, allocations: 0 / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.009197, allocations: 4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.009199, allocations: 3.984 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0092, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.00933, allocations: 255.7 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.009344, allocations: 7.953 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.009364, allocations: 4 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.00943, allocations: 0 / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.009459, allocations: 11.98 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.009473, allocations: 4 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.009526, allocations: 158.4 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009526, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.009808, allocations: 55.8 kB / 385.3 MB, free: 17.27 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: 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.00133/0.01114, allocations: 0.5395 MB / 385.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01127, allocations: 47.59 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01127, allocations: 0 / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.01131, allocations: 27.61 kB / 385.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01161, allocations: 37.27 kB / 385.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.01194, allocations: 211.8 kB / 386.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.01197, allocations: 63.34 kB / 386.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.01203, allocations: 21.27 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.0121, allocations: 102.1 kB / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0121, allocations: 0 / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of Templates: time 0.004695/0.0168, allocations: 2.803 MB / 389.1 MB, free: 13.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.2462000977247953]