Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.00143/0.00143, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001095/0.001095, allocations: 166.1 kB / 24.83 MB, free: 8.938 MB / 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.9516/0.9516, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1267/0.1267, allocations: 32.37 MB / 271.5 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.602e-05, allocations: 2.312 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002324/0.00234, allocations: 1.686 MB / 350.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003429, allocations: 0.7687 MB / 351.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.003489, allocations: 0 / 351.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.003781, allocations: 87.69 kB / 351.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.003995, allocations: 83.59 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.004192, allocations: 83.7 kB / 351.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004338, allocations: 95.69 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.004377, allocations: 4 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.004473, allocations: 67.75 kB / 351.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.004566, allocations: 55.86 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004581, allocations: 4 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.004646, allocations: 24 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.004691, allocations: 19.92 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.004725, allocations: 31.84 kB / 352 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004864, allocations: 83.69 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004865, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004866, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004869, allocations: 0 / 352.1 MB, free: 5.996 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003155/0.005184, allocations: 443.9 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.005215, allocations: 11.97 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.00525, allocations: 16.84 kB / 352.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.00537, allocations: 148.4 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.005384, allocations: 8.375 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.005391, allocations: 4.375 kB / 352.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.005472, allocations: 54.94 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005479, allocations: 3.938 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.005486, allocations: 0 / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.005491, allocations: 0 / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.005516, allocations: 11.98 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.882e-05/0.005605, allocations: 113.3 kB / 352.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.00569, allocations: 51.05 kB / 352.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.005711, allocations: 15.67 kB / 352.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.00572, allocations: 4 kB / 352.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.814e-05/0.005798, allocations: 72.97 kB / 353 MB, free: 4.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.005799, allocations: 0 / 353 MB, free: 4.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001631/0.005962, allocations: 81.52 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.005983, allocations: 51.41 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.006096, allocations: 234.6 kB / 353.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.006105, allocations: 29.7 kB / 353.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.006143, allocations: 154.8 kB / 353.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.006169, allocations: 15.91 kB / 353.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.006201, allocations: 27.36 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.006259, allocations: 0.5001 MB / 354.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.006275, allocations: 8 kB / 354.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.006299, allocations: 23.36 kB / 354.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.013e-05/0.006339, allocations: 39.3 kB / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006341, allocations: 0 / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.562e-05/0.006426, allocations: 77.53 kB / 354.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.006436, allocations: 4 kB / 354.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.00644, allocations: 0 / 354.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006449, allocations: 3.938 kB / 354.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.006506, allocations: 20.02 kB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006508, allocations: 0 / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.006543, allocations: 3.938 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006548, allocations: 4 kB / 354.3 MB, free: 3.578 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 (7): * Single equations (assignments): 7 * 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.072e-05/0.006599, allocations: 160.6 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.006617, allocations: 11.91 kB / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006733, allocations: 78.92 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.006741, allocations: 7.938 kB / 354.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.006744, allocations: 0 / 354.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006747, allocations: 4.359 kB / 354.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.821e-05/0.006825, allocations: 117.2 kB / 354.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006827, allocations: 4 kB / 354.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.006849, allocations: 4 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.00685, allocations: 4 kB / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006857, allocations: 4 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006858, allocations: 0 / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.00686, allocations: 7.969 kB / 354.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.269e-05/0.006953, allocations: 112.3 kB / 354.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.006967, allocations: 19.78 kB / 354.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.006984, allocations: 4 kB / 354.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.007014, allocations: 7.984 kB / 354.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.007033, allocations: 4 kB / 354.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.007043, allocations: 3.938 kB / 354.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.007101, allocations: 171.1 kB / 355 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007101, allocations: 0 / 355 MB, free: 2.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.007291, allocations: 23.94 kB / 355 MB, free: 2.773 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009117/0.008202, allocations: 384.2 kB / 355.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.008298, allocations: 35.61 kB / 355.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.0083, allocations: 0 / 355.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.008331, allocations: 23.67 kB / 355.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.008557, allocations: 29.23 kB / 355.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.008842, allocations: 201.3 kB / 355.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.589e-05/0.008868, allocations: 75.27 kB / 355.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.008899, allocations: 12.48 kB / 355.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.008957, allocations: 86.19 kB / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008958, allocations: 0 / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of Templates: time 0.003791/0.01275, allocations: 1.787 MB / 357.6 MB, free: 208 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.139006147161126]