Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001045/0.001045, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001176/0.001176, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9103/0.9103, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1342/0.1342, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.001e-05, allocations: 8.219 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001959/0.001979, allocations: 1.719 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.002929, allocations: 0.7881 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.003009, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.003302, allocations: 51.69 kB / 350.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.003488, allocations: 55.75 kB / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.003677, allocations: 87.7 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003818, allocations: 107.6 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.003899, allocations: 8.234 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.003969, allocations: 43.89 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.00403, allocations: 27.91 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004046, allocations: 4 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.004117, allocations: 47.91 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.004156, allocations: 27.86 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.004188, allocations: 15.94 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.004316, allocations: 99.59 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004318, allocations: 0 / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004318, allocations: 4 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004322, allocations: 0 / 351.3 MB, free: 5.984 MB / 282.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.0003305/0.004652, allocations: 463.7 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004688, allocations: 12.03 kB / 351.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.004725, allocations: 12.84 kB / 351.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004836, allocations: 156.4 kB / 351.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.00485, allocations: 4.312 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.004865, allocations: 4.359 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.927e-05/0.004955, allocations: 62.94 kB / 352 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004963, allocations: 3.938 kB / 352 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004969, allocations: 4 kB / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004974, allocations: 0 / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004997, allocations: 11.98 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.005183, allocations: 268.4 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.005258, allocations: 55.09 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.005277, allocations: 11.69 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.005293, allocations: 4 kB / 352.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/0.005367, allocations: 64.97 kB / 352.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.005369, allocations: 4 kB / 352.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002756/0.005644, allocations: 137.5 kB / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.005668, allocations: 55.41 kB / 352.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.005755, allocations: 237.8 kB / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.005764, allocations: 29.7 kB / 352.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.005801, allocations: 158.8 kB / 353 MB, free: 4.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.005823, allocations: 27.78 kB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005851, allocations: 35.3 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.005899, allocations: 0.5001 MB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.005913, allocations: 8 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.005937, allocations: 39.28 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.005973, allocations: 43.36 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005974, allocations: 0 / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.208e-05/0.006056, allocations: 93.55 kB / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006067, allocations: 4 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006072, allocations: 80 / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.006084, allocations: 0 / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.006143, allocations: 23.92 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006147, allocations: 3.984 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.006173, allocations: 0 / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.006179, allocations: 12.03 kB / 353.8 MB, free: 3.258 MB / 282.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 4.818e-05/0.006227, allocations: 160.6 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.006242, allocations: 19.84 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.006354, allocations: 103.1 kB / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006356, allocations: 0 / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006357, allocations: 0 / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006361, allocations: 3.984 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.006563, allocations: 365.5 kB / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006565, allocations: 0 / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.006596, allocations: 16.41 kB / 354.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006598, allocations: 0 / 354.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.006605, allocations: 3.984 kB / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.006608, allocations: 8 kB / 354.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006609, allocations: 0 / 354.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006712, allocations: 251.4 kB / 354.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.006723, allocations: 11.91 kB / 354.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006737, allocations: 4 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.006776, allocations: 0 / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.006801, allocations: 11.98 kB / 354.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.006811, allocations: 8 kB / 354.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.006855, allocations: 179 kB / 354.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006855, allocations: 0 / 354.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.00702, allocations: 23.94 kB / 354.9 MB, free: 2.031 MB / 282.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.0008468/0.007867, allocations: 437.7 kB / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.007962, allocations: 59.52 kB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007963, allocations: 0 / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.007991, allocations: 23.83 kB / 355.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.008206, allocations: 40.19 kB / 355.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.00847, allocations: 237.4 kB / 355.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.008499, allocations: 71.33 kB / 355.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.00854, allocations: 8.5 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.008607, allocations: 90.19 kB / 355.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008607, allocations: 0 / 355.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of Templates: time 0.00334/0.01195, allocations: 2.032 MB / 357.9 MB, free: 15.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.115144846960902]