Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001058/0.001058, allocations: 85.84 kB / 21.44 MB, free: 3.062 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.0012/0.0012, allocations: 166 kB / 24.84 MB, free: 9.332 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 1.005/1.005, 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.154/0.154, 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 349 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.124e-05, allocations: 8.219 kB / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001994/0.002015, allocations: 1.687 MB / 350.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.002893, allocations: 0.7726 MB / 351.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.002962, allocations: 0 / 351.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.00326, allocations: 59.73 kB / 351.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.003439, allocations: 75.61 kB / 351.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.003575, allocations: 75.77 kB / 351.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003697, allocations: 99.69 kB / 351.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.003738, allocations: 7.938 kB / 351.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.003809, allocations: 59.75 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.003889, allocations: 43.89 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003904, allocations: 4 kB / 351.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.00396, allocations: 31.98 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.004002, allocations: 19.92 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.004031, allocations: 19.92 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.004152, allocations: 83.67 kB / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004153, allocations: 0 / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004154, allocations: 0 / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004158, allocations: 0 / 352 MB, free: 6.059 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.000335/0.004493, allocations: 439.8 kB / 352.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.004523, allocations: 8.031 kB / 352.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.004554, allocations: 12.89 kB / 352.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.004669, allocations: 144.4 kB / 352.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.004688, allocations: 8.375 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004696, allocations: 4.375 kB / 352.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.004795, allocations: 54.94 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.004805, allocations: 3.938 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.004812, allocations: 0 / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.004817, allocations: 0 / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.004842, allocations: 8 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.004946, allocations: 121.2 kB / 352.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.005037, allocations: 47.09 kB / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.005057, allocations: 19.69 kB / 352.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.00507, allocations: 0 / 352.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/0.005149, allocations: 69 kB / 352.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.00515, allocations: 0 / 352.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000212/0.005362, allocations: 85.5 kB / 353 MB, free: 4.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.005383, allocations: 51.41 kB / 353.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.005462, allocations: 216 kB / 353.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.005472, allocations: 29.69 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.005502, allocations: 150.9 kB / 353.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.00553, allocations: 15.89 kB / 353.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.005557, allocations: 27.36 kB / 353.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.005607, allocations: 0.5001 MB / 354 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.005617, allocations: 4 kB / 354 MB, free: 3.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.005637, allocations: 27.34 kB / 354 MB, free: 3.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.005671, allocations: 35.31 kB / 354.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005673, allocations: 0 / 354.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.957e-05/0.005732, allocations: 69.58 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005743, allocations: 7.938 kB / 354.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005748, allocations: 0 / 354.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.005759, allocations: 7.969 kB / 354.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.005815, allocations: 15.98 kB / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.005818, allocations: 0 / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.005846, allocations: 0 / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.005851, allocations: 8 kB / 354.2 MB, free: 3.688 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 4.666e-05/0.005897, allocations: 156.6 kB / 354.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.005909, allocations: 11.91 kB / 354.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.87e-05/0.005997, allocations: 86.17 kB / 354.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.006, allocations: 3.938 kB / 354.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.006002, allocations: 0 / 354.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006007, allocations: 11.98 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.875e-05/0.006065, allocations: 117.2 kB / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.006067, allocations: 384 / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.006079, allocations: 4 kB / 354.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.00608, allocations: 4 kB / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006085, allocations: 0 / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006085, allocations: 0 / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006087, allocations: 7.984 kB / 354.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.006179, allocations: 120.2 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.00619, allocations: 7.953 kB / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.006204, allocations: 0 / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.006223, allocations: 7.984 kB / 354.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.006246, allocations: 8 kB / 354.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.006255, allocations: 3.938 kB / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.576e-05/0.006291, allocations: 156 kB / 354.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0 / 354.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.006423, allocations: 19.98 kB / 354.9 MB, free: 2.91 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.0006903/0.007114, allocations: 397.8 kB / 355.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.007193, allocations: 35.55 kB / 355.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007194, allocations: 0 / 355.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.007219, allocations: 23.67 kB / 355.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.00738, allocations: 25.23 kB / 355.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.007606, allocations: 185.5 kB / 355.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.237e-05/0.007629, allocations: 71.28 kB / 355.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.007655, allocations: 12.48 kB / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.007704, allocations: 86.19 kB / 355.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007705, allocations: 0 / 355.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of Templates: time 0.002872/0.01058, allocations: 1.781 MB / 357.5 MB, free: 364 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.297646174672991]