Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001269/0.001269, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001613/0.001613, allocations: 169.3 kB / 24.24 MB, free: 316 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 1.228/1.228, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.1649/0.1649, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 3.938 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.101e-05/4.382e-05, allocations: 8.219 kB / 347.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002963/0.003007, allocations: 1.75 MB / 349.5 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004169, allocations: 0.7921 MB / 350.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.004291, allocations: 3.938 kB / 350.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.004708, allocations: 115.6 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.005, allocations: 87.59 kB / 350.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.005289, allocations: 83.69 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.005514, allocations: 123.7 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005646, allocations: 15.94 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.005759, allocations: 71.8 kB / 350.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005874, allocations: 67.84 kB / 350.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.005901, allocations: 8 kB / 350.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006004, allocations: 39.94 kB / 350.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.006073, allocations: 35.84 kB / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.006123, allocations: 23.86 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.006344, allocations: 119.6 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.006349, allocations: 0 / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.00635, allocations: 0 / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.006358, allocations: 0 / 351.1 MB, free: 6.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004541/0.006812, allocations: 483.6 kB / 351.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.006857, allocations: 8.031 kB / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.006916, allocations: 16.84 kB / 351.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.007093, allocations: 168.2 kB / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.007117, allocations: 384 / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.007143, allocations: 8.375 kB / 351.7 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.0073, allocations: 74.86 kB / 351.8 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.007314, allocations: 3.938 kB / 351.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.007327, allocations: 0 / 351.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.007337, allocations: 4 kB / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.007398, allocations: 23.97 kB / 351.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.007739, allocations: 315.6 kB / 352.2 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.007872, allocations: 75.14 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.007909, allocations: 19.69 kB / 352.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.007926, allocations: 0 / 352.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.008039, allocations: 77.06 kB / 352.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.008041, allocations: 3.984 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004932/0.008534, allocations: 197.3 kB / 352.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.008565, allocations: 55.34 kB / 352.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.008694, allocations: 262.8 kB / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.008706, allocations: 25.7 kB / 352.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.00875, allocations: 166.7 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.008783, allocations: 47.67 kB / 353.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.008824, allocations: 27.38 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.008886, allocations: 0.5117 MB / 353.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.008922, allocations: 12 kB / 353.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.008965, allocations: 43.36 kB / 353.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.009043, allocations: 67.3 kB / 353.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.009044, allocations: 4 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000133/0.009177, allocations: 117.5 kB / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.009191, allocations: 8.031 kB / 353.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009196, allocations: 0 / 353.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.009211, allocations: 4 kB / 353.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.009305, allocations: 19.98 kB / 353.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.009312, allocations: 0 / 353.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.009344, allocations: 11.94 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.009351, allocations: 4 kB / 353.9 MB, free: 3.309 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 (13): * Single equations (assignments): 13 * 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.609e-05/0.009418, allocations: 168.5 kB / 354.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.009437, allocations: 19.89 kB / 354.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.009624, allocations: 139.6 kB / 354.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.009626, allocations: 4 kB / 354.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.009631, allocations: 4 kB / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.009637, allocations: 0 / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.009984, allocations: 440.9 kB / 354.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.009988, allocations: 3.938 kB / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.01003, allocations: 19.98 kB / 354.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01003, allocations: 0 / 354.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01004, allocations: 7.938 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01005, allocations: 0 / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01005, allocations: 0 / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.0102, allocations: 295.5 kB / 355 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.01021, allocations: 11.91 kB / 355 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01023, allocations: 4 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.01028, allocations: 4 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01032, allocations: 11.92 kB / 355 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01033, allocations: 7.984 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.0104, allocations: 191 kB / 355.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0104, allocations: 0 / 355.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01058, allocations: 35.92 kB / 355.2 MB, free: 1.879 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 (13): * Single equations (assignments): 11 * 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.0009481/0.01153, allocations: 435.9 kB / 355.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01169, allocations: 75.53 kB / 355.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01169, allocations: 0 / 355.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.01174, allocations: 51.58 kB / 355.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01201, allocations: 39.94 kB / 355.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.01243, allocations: 281.5 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01247, allocations: 71.45 kB / 356.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.01251, allocations: 24.62 kB / 356.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.01254, allocations: 20.5 kB / 356.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01255, allocations: 0 / 356.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of Templates: time 0.004251/0.0168, allocations: 2.093 MB / 358.3 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.6224624370224774]