Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002642/0.002642, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003213/0.003213, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.365/0.365, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.376e-05, allocations: 8.5 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003317/0.00335, allocations: 1.723 MB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.005277, allocations: 1.009 MB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.005335, allocations: 0 / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.005638, allocations: 59.62 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.005963, allocations: 95.53 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.006177, allocations: 79.66 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.006585, allocations: 115.6 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.006662, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.00679, allocations: 59.88 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.006869, allocations: 31.8 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.006892, allocations: 4 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006993, allocations: 43.92 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.007061, allocations: 27.91 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.007111, allocations: 27.86 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.007352, allocations: 123.6 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.007355, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007356, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.00736, allocations: 0 / 380.7 MB, free: 15.38 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.0006898/0.008049, allocations: 495.2 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.008083, allocations: 11.97 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.008144, allocations: 16.84 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.008404, allocations: 161.3 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.008418, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.008442, allocations: 8.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.008589, allocations: 50.23 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.0086, allocations: 192 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.008612, allocations: 4.375 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008617, allocations: 3.938 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.008692, allocations: 15.98 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.009146, allocations: 323.7 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.009328, allocations: 59.17 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.009392, allocations: 27.67 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.009407, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.009581, allocations: 76.92 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009582, allocations: 0 / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005887/0.01017, allocations: 189.2 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.01022, allocations: 51.41 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.01054, allocations: 293.6 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01057, allocations: 37.7 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01069, allocations: 166.9 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.01073, allocations: 31.78 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.01079, allocations: 23.38 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.01108, allocations: 0.5157 MB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.01113, allocations: 19.94 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.01121, allocations: 43.36 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.01135, allocations: 67.3 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01135, allocations: 0 / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.01158, allocations: 113.5 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01159, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.0116, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01161, allocations: 3.938 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.0117, allocations: 19.98 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.0117, allocations: 160 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.01175, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.01176, allocations: 4 kB / 383.5 MB, free: 12.36 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 0.0001422/0.0119, allocations: 164.6 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01193, allocations: 23.84 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.01221, allocations: 127.5 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01222, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01222, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01222, allocations: 4 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.01281, allocations: 436.9 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01281, allocations: 4 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.01286, allocations: 8 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01286, allocations: 3.984 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01287, allocations: 4 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01287, allocations: 3.938 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01287, allocations: 4.031 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.01321, allocations: 275.4 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.01323, allocations: 11.91 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01326, allocations: 4 kB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.01334, allocations: 11.97 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.0134, allocations: 4 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.01342, allocations: 7.984 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.01362, allocations: 204.5 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01362, allocations: 0 / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.01388, allocations: 27.94 kB / 384.8 MB, free: 10.97 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.00335/0.01723, allocations: 490 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.01747, allocations: 75.53 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01747, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01757, allocations: 43.67 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01795, allocations: 31.97 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.01855, allocations: 266.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.01868, allocations: 108.9 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.01873, allocations: 17.27 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.01878, allocations: 20.56 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01878, allocations: 0 / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.006018/0.02479, allocations: 1.882 MB / 387.7 MB, free: 8.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137215104070492]