Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001071/0.001071, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001015/0.001015, allocations: 173 kB / 24.06 MB, free: 456 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 0.9623/0.9623, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1409/0.1409, allocations: 32.37 MB / 270.7 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.543e-05, allocations: 8.219 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003019/0.003045, allocations: 1.718 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004244, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.004338, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.004685, allocations: 75.7 kB / 350.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004943, allocations: 87.58 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.005176, allocations: 87.64 kB / 351 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.005315, allocations: 111.7 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.005401, allocations: 4.234 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.005504, allocations: 67.81 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.005611, allocations: 51.86 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.005632, allocations: 4 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.005729, allocations: 43.92 kB / 351.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.005785, allocations: 27.86 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.005825, allocations: 19.92 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.006007, allocations: 103.6 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006009, allocations: 0 / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00601, allocations: 0 / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.006014, allocations: 0 / 351.4 MB, free: 5.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003704/0.006384, allocations: 463.7 kB / 351.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.006418, allocations: 8.031 kB / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.006451, allocations: 12.89 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.006578, allocations: 148.4 kB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006594, allocations: 384 / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.006613, allocations: 4.375 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006736, allocations: 62.88 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.006747, allocations: 3.938 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.006754, allocations: 0 / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006761, allocations: 4 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.006791, allocations: 7.984 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.007029, allocations: 268.4 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.007124, allocations: 63.08 kB / 352.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.007149, allocations: 11.69 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.007166, allocations: 4 kB / 352.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.42e-05/0.007261, allocations: 64.98 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.007262, allocations: 0 / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003624/0.007625, allocations: 129.5 kB / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.007646, allocations: 59.39 kB / 352.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.007773, allocations: 238.5 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007786, allocations: 33.69 kB / 352.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.00783, allocations: 154.8 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.007861, allocations: 31.83 kB / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.007897, allocations: 27.38 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.007954, allocations: 0.4962 MB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.007975, allocations: 11.98 kB / 353.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.008007, allocations: 35.28 kB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.008056, allocations: 39.38 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008057, allocations: 7.938 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.008161, allocations: 93.53 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.008175, allocations: 8 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.008181, allocations: 4.062 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.008195, allocations: 0 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.008266, allocations: 12 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008271, allocations: 7.984 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.008312, allocations: 4 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.008319, allocations: 4 kB / 353.9 MB, free: 3.184 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 (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.895e-05/0.008378, allocations: 168.5 kB / 354 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.008402, allocations: 15.89 kB / 354 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.008559, allocations: 99.06 kB / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.008567, allocations: 4 kB / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.00857, allocations: 0 / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008574, allocations: 0 / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.008782, allocations: 365.5 kB / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008784, allocations: 0 / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.00881, allocations: 11.98 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008813, allocations: 384 / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.008819, allocations: 8.031 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008821, allocations: 4 kB / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008822, allocations: 0 / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/0.008914, allocations: 259.4 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.008924, allocations: 11.91 kB / 354.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008937, allocations: 0 / 354.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.008978, allocations: 7.984 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.009002, allocations: 4 kB / 354.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.009014, allocations: 7.984 kB / 354.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.009054, allocations: 167.1 kB / 355 MB, free: 1.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009054, allocations: 0 / 355 MB, free: 1.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.009216, allocations: 28 kB / 355 MB, free: 1.965 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 (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.000795/0.01001, allocations: 440.7 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.761e-05/0.0101, allocations: 51.59 kB / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0101, allocations: 0 / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.01013, allocations: 31.77 kB / 355.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01034, allocations: 43.95 kB / 355.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.01062, allocations: 225.2 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.01065, allocations: 75.27 kB / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.01068, allocations: 8.5 kB / 355.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.01073, allocations: 86.19 kB / 355.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01073, allocations: 0 / 355.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of Templates: time 0.003389/0.01412, allocations: 2.02 MB / 358 MB, free: 15.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.244248196016997]