Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001279/0.001279, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001587/0.001587, allocations: 164.2 kB / 24.91 MB, free: 8.754 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 0.9899/0.9899, allocations: 177 MB / 205.2 MB, free: 5.059 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.2694/0.2694, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.265e-05, allocations: 6.25 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002088/0.002111, allocations: 1.779 MB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003283, allocations: 1.021 MB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.003335, allocations: 0 / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.003516, allocations: 87.62 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.003748, allocations: 127.4 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.003919, allocations: 83.59 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.004042, allocations: 120.4 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.004093, allocations: 19.97 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.004167, allocations: 71.8 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.004238, allocations: 59.81 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.004248, allocations: 4 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.004323, allocations: 59.92 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.004362, allocations: 27.91 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.004391, allocations: 23.86 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004525, allocations: 115.6 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004527, allocations: 0 / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004527, allocations: 0 / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.344e-06/0.00453, allocations: 8 kB / 329.6 MB, free: 3.465 MB / 298.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.0002512/0.004781, allocations: 345.3 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.025e-05/0.004801, allocations: 8.031 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.004825, allocations: 12.92 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004938, allocations: 154.3 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.004947, allocations: 4.375 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.00496, allocations: 384 / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.005026, allocations: 69.75 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.005031, allocations: 192 / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.005037, allocations: 384 / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.005042, allocations: 11.94 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.005067, allocations: 15.92 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.005229, allocations: 173.9 kB / 330.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.005341, allocations: 89.3 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.005359, allocations: 12.86 kB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.005366, allocations: 0 / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/0.005427, allocations: 74.2 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.005427, allocations: 0 / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003181/0.005746, allocations: 190.5 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.005768, allocations: 51.41 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.005866, allocations: 193.6 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.005881, allocations: 33.7 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.005908, allocations: 92.11 kB / 331.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.005934, allocations: 39.67 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.00596, allocations: 25.7 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.006031, allocations: 326.8 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.006046, allocations: 18.81 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.00607, allocations: 29.64 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.006111, allocations: 49.5 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006112, allocations: 0 / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.24e-05/0.006184, allocations: 95.64 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-06/0.006191, allocations: 7.938 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.006194, allocations: 0 / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.0062, allocations: 0 / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.006248, allocations: 19.98 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006251, allocations: 4 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.006271, allocations: 0 / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.006276, allocations: 8.031 kB / 331.7 MB, free: 1.176 MB / 298.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 5.434e-05/0.006331, allocations: 120.6 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.006346, allocations: 19.92 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.006437, allocations: 87.27 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006438, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00644, allocations: 4 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006445, allocations: 7.984 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.006666, allocations: 324.2 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006667, allocations: 4.062 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.006698, allocations: 19.98 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006701, allocations: 4 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006707, allocations: 0 / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006709, allocations: 3.938 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.006711, allocations: 4 kB / 332.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.006834, allocations: 235.8 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.006847, allocations: 11.91 kB / 332.5 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.006861, allocations: 4 kB / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.006899, allocations: 3.984 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.006925, allocations: 15.98 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.006935, allocations: 4 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.006986, allocations: 64.47 kB / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006986, allocations: 0 / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.007142, allocations: 31.92 kB / 332.7 MB, free: 148 kB / 298.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.001707/0.008849, allocations: 0.6297 MB / 333.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.00895, allocations: 60.47 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.008955, allocations: 64 / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.543e-05/0.008991, allocations: 36.78 kB / 333.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.009166, allocations: 42.23 kB / 333.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.009518, allocations: 259.9 kB / 333.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.00956, allocations: 71.33 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.009598, allocations: 12.78 kB / 333.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.009663, allocations: 75.36 kB / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009664, allocations: 0 / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.003834/0.0135, allocations: 2.305 MB / 336.1 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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: 2.9773195940069854]