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.001498/0.001498, 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.00195/0.00195, 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 0.973/0.973, allocations: 177 MB / 204.9 MB, free: 5.574 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.2716/0.2716, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.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.893e-06/1.893e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.421e-05, allocations: 11.23 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00355/0.003585, allocations: 1.78 MB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004887, allocations: 1.02 MB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.00498, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.005347, allocations: 87.62 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.0057, allocations: 131.4 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.005949, allocations: 83.55 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.00615, allocations: 123.7 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.006242, allocations: 8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.006339, allocations: 75.73 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.006449, allocations: 63.86 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.006468, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.006582, allocations: 55.92 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.006651, allocations: 31.84 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.006703, allocations: 27.92 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.006929, allocations: 131.4 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.006936, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.006938, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.006944, allocations: 0 / 382.5 MB, free: 14.35 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.0006186/0.007563, allocations: 459.8 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.007601, allocations: 8.031 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.00766, allocations: 20.84 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.007837, allocations: 165.1 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.007857, allocations: 4.359 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.007882, allocations: 12.38 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.008028, allocations: 66.88 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.008037, allocations: 192 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.008048, allocations: 4.375 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.008057, allocations: 3.938 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.008093, allocations: 15.98 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.008426, allocations: 303.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.008608, allocations: 62.92 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.008638, allocations: 15.67 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.00865, allocations: 8 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.008757, allocations: 69.19 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.008759, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005583/0.009317, allocations: 229.1 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.009348, allocations: 51.41 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009494, allocations: 259.1 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.009508, allocations: 29.7 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.009568, allocations: 158.9 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.0096, allocations: 39.69 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.009637, allocations: 31.38 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.009746, allocations: 0.504 MB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.009777, allocations: 19.98 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.009814, allocations: 35.36 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.009884, allocations: 71.23 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009886, allocations: 3.938 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000194/0.01008, allocations: 101.6 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01009, allocations: 8 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.0101, allocations: 3.984 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01011, allocations: 4.031 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.01018, allocations: 27.94 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01018, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.01022, allocations: 3.984 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.01022, allocations: 4 kB / 385.2 MB, free: 11.37 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 8.9e-05/0.01031, allocations: 164.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.01033, allocations: 19.91 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.01052, allocations: 139.7 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01052, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01052, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01053, allocations: 4 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01089, allocations: 448.5 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0109, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.01093, allocations: 12 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01093, allocations: 8 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01095, allocations: 7.984 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01095, allocations: 4 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01095, allocations: 0 / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.01112, allocations: 291.3 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01113, allocations: 19.97 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01115, allocations: 3.984 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.01119, allocations: 8 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.01123, allocations: 11.92 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01124, allocations: 4 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.434e-05/0.01132, allocations: 183.1 kB / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01132, allocations: 0 / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.01151, allocations: 27.94 kB / 386.6 MB, free: 9.945 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.001268/0.01277, allocations: 484.8 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01293, allocations: 67.59 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01293, allocations: 0 / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.01298, allocations: 39.61 kB / 387.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.01322, allocations: 40.09 kB / 387.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.01362, allocations: 269.1 kB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.01366, allocations: 75.34 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.0137, allocations: 16.62 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.01374, allocations: 24.48 kB / 387.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01374, allocations: 0 / 387.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of Templates: time 0.004261/0.018, allocations: 2.277 MB / 389.8 MB, free: 6.793 MB / 362.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: 3.2059325110167265]