Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001376/0.001376, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001049/0.001049, allocations: 153.5 kB / 24.99 MB, free: 8.219 MB / 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/1, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2815/0.2815, allocations: 34.87 MB / 296.6 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.731e-05, allocations: 6.312 kB / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002631/0.002659, allocations: 1.779 MB / 380.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003948, allocations: 1.016 MB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004052, allocations: 4 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.004426, allocations: 103.6 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.004779, allocations: 127.4 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.005045, allocations: 91.53 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.00525, allocations: 127.7 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.005354, allocations: 8 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005461, allocations: 75.73 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.005565, allocations: 59.86 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005582, allocations: 4 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.005692, allocations: 55.92 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.005749, allocations: 31.86 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.005795, allocations: 23.91 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.006019, allocations: 123.5 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006022, allocations: 0 / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006023, allocations: 8 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.006028, allocations: 0 / 382.5 MB, free: 14.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005034/0.006531, allocations: 479.5 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.006567, allocations: 12.02 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.00663, allocations: 16.84 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.006842, allocations: 164.4 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.00687, allocations: 4.375 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.006895, allocations: 384 / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.007052, allocations: 66.94 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.007065, allocations: 192 / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.007074, allocations: 4.375 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.007084, allocations: 3.938 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.007131, allocations: 23.91 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.007526, allocations: 307.6 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.007717, allocations: 63.03 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.007749, allocations: 11.69 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007762, allocations: 7.938 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.007886, allocations: 69.11 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.007888, allocations: 0 / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006521/0.00854, allocations: 229.3 kB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.008583, allocations: 51.41 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.008758, allocations: 265.5 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.008777, allocations: 33.7 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.008866, allocations: 166.8 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.008908, allocations: 31.75 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.008956, allocations: 31.36 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.009095, allocations: 0.504 MB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.009136, allocations: 23.92 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.009184, allocations: 46.61 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.009269, allocations: 67.34 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.00927, allocations: 0 / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001477/0.009418, allocations: 113.5 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.009434, allocations: 7.938 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.00944, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.009454, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.009521, allocations: 23.98 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.009528, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.009565, allocations: 15.92 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.009575, allocations: 7.984 kB / 385.3 MB, free: 11.62 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 (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 9.303e-05/0.009668, allocations: 162.9 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.009694, allocations: 27.89 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.009925, allocations: 123.8 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.00993, allocations: 7.984 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009936, allocations: 0 / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.009944, allocations: 0 / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.01038, allocations: 452.6 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01038, allocations: 4 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.01042, allocations: 15.94 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.01042, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01043, allocations: 7.922 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.01044, allocations: 4 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01044, allocations: 0 / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.01063, allocations: 283.1 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.01064, allocations: 15.91 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01067, allocations: 7.984 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.01072, allocations: 7.938 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.01076, allocations: 19.95 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01077, allocations: 4 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.01087, allocations: 188.4 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 0 / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01108, allocations: 27.94 kB / 386.6 MB, free: 10.2 MB / 362.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.001112/0.01219, allocations: 476.8 kB / 387.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01236, allocations: 67.59 kB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01237, allocations: 0 / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.01242, allocations: 39.61 kB / 387.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.01271, allocations: 38.5 kB / 387.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.01316, allocations: 286.2 kB / 387.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.01321, allocations: 79.33 kB / 387.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01326, allocations: 20.62 kB / 387.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01329, allocations: 16.5 kB / 387.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01329, allocations: 0 / 387.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of Templates: time 0.004065/0.01736, allocations: 2.138 MB / 389.7 MB, free: 7.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.253184749977663]