Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001076/0.001076, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0011/0.0011, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9967/0.9967, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2488/0.2488, allocations: 34.26 MB / 296.1 MB, free: 0.6172 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.528e-05, allocations: 9.891 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00235/0.002375, allocations: 1.759 MB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003691, allocations: 1.006 MB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.003763, allocations: 0 / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.004035, allocations: 43.7 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.004328, allocations: 99.47 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.004517, allocations: 79.61 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004668, allocations: 107.7 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.004743, allocations: 7.938 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.004826, allocations: 51.84 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.004895, allocations: 31.89 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004909, allocations: 4 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.004984, allocations: 43.92 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.005031, allocations: 31.84 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.005062, allocations: 16.44 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.005211, allocations: 103.6 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005213, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005214, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.005217, allocations: 0 / 328.7 MB, free: 4.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003348/0.005552, allocations: 317.5 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.005581, allocations: 16.03 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.005611, allocations: 8.922 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005758, allocations: 155.4 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005772, allocations: 384 / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.005792, allocations: 8.375 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.005895, allocations: 65.7 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.005905, allocations: 3.938 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.005912, allocations: 3.984 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005917, allocations: 0 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.005942, allocations: 8 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.006135, allocations: 170 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.649e-05/0.006222, allocations: 89.22 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.006239, allocations: 8.859 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.00625, allocations: 0 / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.971e-05/0.00633, allocations: 70.14 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006331, allocations: 0 / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002678/0.006599, allocations: 113.5 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.006627, allocations: 51.41 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.006726, allocations: 181.3 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006739, allocations: 29.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.006769, allocations: 96.11 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.006794, allocations: 27.78 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.006823, allocations: 21.72 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.006901, allocations: 330.8 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.006918, allocations: 6.828 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.006942, allocations: 29.64 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.006984, allocations: 40.52 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006985, allocations: 0 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.575e-05/0.007061, allocations: 80.38 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007072, allocations: 8 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007077, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.007087, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.007143, allocations: 15.98 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007146, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.007173, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.007178, allocations: 384 / 330.6 MB, free: 2.113 MB / 298.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 6.659e-05/0.007244, allocations: 128.6 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.007259, allocations: 19.86 kB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.449e-05/0.007353, allocations: 75.17 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007355, allocations: 0 / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.007358, allocations: 4 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007362, allocations: 7.984 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.007566, allocations: 291.5 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007567, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.007591, allocations: 11.94 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.007594, allocations: 4 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.007599, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007601, allocations: 32 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.007603, allocations: 8.062 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.007842, allocations: 223 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.007854, allocations: 7.953 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.007869, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.007909, allocations: 4 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.007933, allocations: 3.984 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.007945, allocations: 8 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.007986, allocations: 47.64 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007986, allocations: 0 / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.008136, allocations: 27.92 kB / 331.5 MB, free: 1.184 MB / 298.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.001166/0.009302, allocations: 0.5716 MB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.009386, allocations: 40.77 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.00939, allocations: 8.062 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.009418, allocations: 24.78 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.009583, allocations: 39.3 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.009869, allocations: 215.7 kB / 332.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.009904, allocations: 71.33 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.009939, allocations: 21.25 kB / 332.5 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.009998, allocations: 71.38 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009999, allocations: 4 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of Templates: time 0.003491/0.01349, allocations: 2.009 MB / 334.6 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.9481060970574617]