Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001119/0.001119, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009732/0.0009732, allocations: 160.5 kB / 24.55 MB, free: 16 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.578 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.2662/0.2662, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.701e-05, allocations: 7.016 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002289/0.002306, allocations: 1.765 MB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003524, allocations: 1.016 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.003593, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.00389, allocations: 79.58 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.004185, allocations: 119.5 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.004356, allocations: 87.53 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004514, allocations: 119.6 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.004605, allocations: 8 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.004687, allocations: 71.75 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.004778, allocations: 55.88 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.004793, allocations: 4 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.004871, allocations: 47.91 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.004917, allocations: 19.92 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.004955, allocations: 19.88 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.005121, allocations: 111.6 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005123, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005124, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.005128, allocations: 0 / 382.4 MB, free: 14.45 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.0004494/0.005578, allocations: 463.8 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.005612, allocations: 8.031 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.005665, allocations: 16.84 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.005824, allocations: 148.4 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.005845, allocations: 4.375 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.005864, allocations: 8.328 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.005982, allocations: 70.81 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005994, allocations: 192 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006003, allocations: 384 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.006012, allocations: 3.938 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.006043, allocations: 15.98 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.006329, allocations: 291.8 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.006432, allocations: 55.11 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.00646, allocations: 19.67 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.006472, allocations: 0 / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.006567, allocations: 68.98 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.006568, allocations: 0 / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003571/0.006925, allocations: 161.3 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.006954, allocations: 55.41 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.007111, allocations: 242.7 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007123, allocations: 33.69 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.007176, allocations: 150.9 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.007203, allocations: 31.73 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.007235, allocations: 31.38 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.007374, allocations: 0.5001 MB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.007397, allocations: 8 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.007434, allocations: 39.3 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.007486, allocations: 43.38 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007487, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.974e-05/0.007587, allocations: 97.48 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.007599, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007603, allocations: 4.375 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.007615, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.007678, allocations: 16 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007683, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.007714, allocations: 11.98 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00772, allocations: 4 kB / 384.9 MB, free: 11.65 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.007e-05/0.00779, allocations: 164.5 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.007806, allocations: 19.84 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.00794, allocations: 107.1 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007943, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.007946, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007949, allocations: 3.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.00827, allocations: 400.9 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008272, allocations: 4 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.008294, allocations: 8 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008296, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008303, allocations: 4.031 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008305, allocations: 4 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008306, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.008449, allocations: 263.4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.008462, allocations: 11.94 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.008479, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.008518, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.008549, allocations: 11.98 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.008562, allocations: 7.984 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.688e-05/0.008639, allocations: 177.1 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008639, allocations: 4 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.008813, allocations: 27.92 kB / 386.1 MB, free: 10.36 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.0008596/0.009673, allocations: 438.6 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.0098, allocations: 55.53 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.009801, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.009839, allocations: 31.67 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01006, allocations: 23.98 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.0104, allocations: 252.6 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.01044, allocations: 63.34 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.01047, allocations: 17.27 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.0105, allocations: 16.5 kB / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0105, allocations: 0 / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of Templates: time 0.004146/0.01465, allocations: 2.006 MB / 389 MB, free: 7.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.1366669526323676]