Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001054/0.001054, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009326/0.0009326, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.9857/0.9857, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.753e-05, allocations: 3.078 kB / 323.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002454/0.002472, allocations: 1.815 MB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003737, allocations: 1.009 MB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.003812, allocations: 0 / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.004116, allocations: 95.55 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.004394, allocations: 111.5 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.004641, allocations: 83.61 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.004817, allocations: 127.5 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.004906, allocations: 20.59 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.005005, allocations: 63.81 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.005101, allocations: 51.88 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.005116, allocations: 4 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.005213, allocations: 63.86 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.005262, allocations: 27.84 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.005297, allocations: 23.92 kB / 326.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.005452, allocations: 111.6 kB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005456, allocations: 3.984 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005456, allocations: 4 kB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.00546, allocations: 0 / 327 MB, free: 5.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003497/0.00581, allocations: 341.1 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005841, allocations: 12.03 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.005871, allocations: 8.922 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.006015, allocations: 153.5 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.006029, allocations: 4.375 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.006044, allocations: 384 / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.006142, allocations: 69.75 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006151, allocations: 3.938 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.006159, allocations: 7.984 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.006165, allocations: 4 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.006188, allocations: 8 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.006397, allocations: 177.8 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.006538, allocations: 93.34 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.006557, allocations: 12.98 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.00657, allocations: 4 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.255e-05/0.006652, allocations: 62.16 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.006654, allocations: 4 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003868/0.00704, allocations: 178.2 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.007066, allocations: 51.41 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.007182, allocations: 193.1 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.007199, allocations: 25.7 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.007232, allocations: 96.11 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.007265, allocations: 39.67 kB / 328.5 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.007295, allocations: 21.72 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.007377, allocations: 330.8 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.007396, allocations: 18.83 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.007424, allocations: 30.56 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.007477, allocations: 61.14 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007478, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.826e-05/0.007566, allocations: 81.58 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007579, allocations: 8 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007583, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007594, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.007647, allocations: 19.98 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007651, allocations: 8.031 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.007677, allocations: 8 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.007683, allocations: 4 kB / 329.1 MB, free: 3.664 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 (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.861e-05/0.007752, allocations: 127.3 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.007765, allocations: 11.94 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.007877, allocations: 91.75 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.007879, allocations: 0 / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.00788, allocations: 0 / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007884, allocations: 0 / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.008123, allocations: 332.2 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008125, allocations: 0 / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.00816, allocations: 19.97 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.008165, allocations: 4 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.008172, allocations: 0 / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008175, allocations: 3.984 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.008178, allocations: 4 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008299, allocations: 237.6 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.008311, allocations: 11.91 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.008328, allocations: 11.98 kB / 329.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.00837, allocations: 4.062 kB / 329.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.008398, allocations: 7.984 kB / 329.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.008412, allocations: 11.94 kB / 329.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.00846, allocations: 61.53 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.00846, allocations: 0 / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.008617, allocations: 39.92 kB / 330 MB, free: 2.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001342/0.009959, allocations: 0.64 MB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01006, allocations: 60.7 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01007, allocations: 4 kB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.0101, allocations: 32.72 kB / 330.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.01028, allocations: 31.97 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.01058, allocations: 260.2 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.01063, allocations: 67.34 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.01067, allocations: 24.81 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.01073, allocations: 67.36 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01073, allocations: 0 / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of Templates: time 0.003837/0.01457, allocations: 2.297 MB / 333.5 MB, free: 15.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.9603470959700644]