Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001131/0.001131, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001214/0.001214, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9846/0.9846, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2542/0.2542, allocations: 34.25 MB / 296.1 MB, free: 0.6211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.828e-05, allocations: 5.891 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002085/0.002103, allocations: 1.759 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003238, allocations: 1.006 MB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.003302, allocations: 4 kB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.003555, allocations: 47.69 kB / 328.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.003805, allocations: 99.47 kB / 328.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.003963, allocations: 75.61 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.00412, allocations: 111.7 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004221, allocations: 7.984 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.004314, allocations: 55.78 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.004397, allocations: 23.91 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.004414, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.004497, allocations: 43.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.004561, allocations: 27.84 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.004598, allocations: 20.42 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.004784, allocations: 103.6 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004787, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004788, allocations: 4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.004792, allocations: 4 kB / 328.7 MB, free: 4.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000468/0.00526, allocations: 325.5 kB / 329 MB, free: 3.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.0053, allocations: 12.03 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.005336, allocations: 8.922 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.005522, allocations: 150.6 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.00554, allocations: 384 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.005565, allocations: 4.375 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.005692, allocations: 65.7 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.005705, allocations: 3.938 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005713, allocations: 4 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.00572, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.005749, allocations: 15.98 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.006021, allocations: 169.9 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006137, allocations: 85.36 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.006162, allocations: 12.8 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.006177, allocations: 0 / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.843e-05/0.006276, allocations: 66.16 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006277, allocations: 0 / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.006575, allocations: 125.5 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.006606, allocations: 51.41 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.006708, allocations: 188.2 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.006721, allocations: 25.7 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.006751, allocations: 96.06 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.006774, allocations: 23.8 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.006804, allocations: 29.69 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.006875, allocations: 326.8 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.006889, allocations: 6.828 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.006913, allocations: 29.64 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.006953, allocations: 48.52 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006954, allocations: 0 / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.847e-05/0.007022, allocations: 72.38 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.007033, allocations: 4 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.007037, allocations: 0 / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.007049, allocations: 3.938 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.007108, allocations: 19.98 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.007112, allocations: 4 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.007136, allocations: 0 / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007142, allocations: 8.031 kB / 330.7 MB, free: 2.07 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 (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 5.996e-05/0.007202, allocations: 120.6 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.007214, allocations: 11.92 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/0.007305, allocations: 71.14 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.007309, allocations: 7.984 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00731, allocations: 0 / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007314, allocations: 0 / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.007511, allocations: 291.6 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007513, allocations: 384 / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.007536, allocations: 15.97 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007538, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.007547, allocations: 11.98 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007548, allocations: 4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007549, allocations: 80 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.007636, allocations: 215 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.007647, allocations: 11.91 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.007664, allocations: 8 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.007701, allocations: 3.984 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.007725, allocations: 4 kB / 331.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.007736, allocations: 7.984 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.007778, allocations: 64.67 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007778, allocations: 0 / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.007915, allocations: 23.94 kB / 331.5 MB, free: 1.145 MB / 298.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.001256/0.009171, allocations: 0.5751 MB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.009257, allocations: 36.78 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.00926, allocations: 7.938 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.00929, allocations: 28.77 kB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.009465, allocations: 39.14 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.009774, allocations: 223.6 kB / 332.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.009812, allocations: 67.34 kB / 332.5 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.009846, allocations: 21.39 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.009905, allocations: 71.36 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009906, allocations: 0 / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of Templates: time 0.003581/0.01349, allocations: 2.013 MB / 334.6 MB, free: 14.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.879866709932685]