Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001011/0.001011, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009792/0.0009792, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9805/0.9805, allocations: 177.1 MB / 205 MB, free: 5.613 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.2753/0.2753, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.136e-05, allocations: 5.266 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002842/0.002873, allocations: 1.77 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004099, allocations: 1.013 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.004177, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.004486, allocations: 47.7 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.004769, allocations: 99.53 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.004945, allocations: 87.53 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.005101, allocations: 111.7 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.005192, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.005274, allocations: 55.77 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.005345, allocations: 27.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005361, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.005448, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.005506, allocations: 23.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.005549, allocations: 35.84 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005731, allocations: 95.66 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005734, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005735, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00574, allocations: 3.938 kB / 381.5 MB, free: 15.15 MB / 362.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.0004556/0.006196, allocations: 467.7 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.006231, allocations: 8.031 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.006278, allocations: 16.84 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.006449, allocations: 157.2 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.006466, allocations: 4.375 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.006489, allocations: 8.359 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006609, allocations: 62.94 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006619, allocations: 3.938 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006628, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006637, allocations: 7.984 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.00667, allocations: 7.938 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.006989, allocations: 299.8 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.007095, allocations: 47.17 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.007128, allocations: 23.62 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.007142, allocations: 7.938 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.007243, allocations: 65.05 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.007244, allocations: 0 / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003917/0.007635, allocations: 169.3 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.007663, allocations: 51.41 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.007819, allocations: 255.1 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.007833, allocations: 33.7 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.007895, allocations: 158.9 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.007923, allocations: 27.78 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.007956, allocations: 23.38 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.008082, allocations: 0.504 MB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.008109, allocations: 11.98 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.008146, allocations: 35.36 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.008206, allocations: 55.23 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008208, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.008326, allocations: 97.59 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.008343, allocations: 9.859 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.00835, allocations: 4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.008366, allocations: 3.938 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.008442, allocations: 16.03 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008448, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.008478, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.008486, allocations: 11.98 kB / 384.1 MB, free: 12.31 MB / 362.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 7.181e-05/0.008558, allocations: 160.5 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.008576, allocations: 19.91 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.008731, allocations: 103.1 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008734, allocations: 4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.008738, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008741, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.009032, allocations: 408.9 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009033, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.009061, allocations: 11.94 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009064, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.009072, allocations: 4 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009073, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009074, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.009213, allocations: 259.4 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.009227, allocations: 15.91 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.009246, allocations: 7.984 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.009286, allocations: 4.031 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.009317, allocations: 8.359 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.009332, allocations: 8 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.009413, allocations: 183.1 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009413, allocations: 0 / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.009586, allocations: 23.94 kB / 385.3 MB, free: 11.03 MB / 362.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.0009733/0.01056, allocations: 434.7 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.01069, allocations: 63.58 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01069, allocations: 3.938 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.01072, allocations: 35.61 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01096, allocations: 31.92 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.01132, allocations: 241.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.01136, allocations: 75.27 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.01139, allocations: 12.97 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01143, allocations: 24.61 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01143, allocations: 0 / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003772/0.0152, allocations: 1.887 MB / 388.1 MB, free: 8.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.2972160731442273]