Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001043/0.001043, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009719/0.0009719, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.9879/0.9879, allocations: 177 MB / 205.9 MB, free: 4.414 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.152/0.152, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.167e-05, allocations: 4 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002701/0.002732, allocations: 1.752 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003759, allocations: 0.9948 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.003834, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.004144, allocations: 35.77 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.004487, allocations: 107.4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.004699, allocations: 83.59 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.004841, allocations: 95.7 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.00493, allocations: 11.98 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.005009, allocations: 55.77 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.005083, allocations: 27.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.005098, allocations: 8 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.005173, allocations: 47.91 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.005222, allocations: 23.88 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.005253, allocations: 19.92 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.005404, allocations: 99.59 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.005408, allocations: 4 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005409, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.005415, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.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.0003446/0.005759, allocations: 447.9 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.005788, allocations: 12.03 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.005819, allocations: 16.84 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.005938, allocations: 149.1 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.005955, allocations: 8.312 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.005969, allocations: 384 / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.006056, allocations: 62.94 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006065, allocations: 4.125 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.006072, allocations: 384 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.006077, allocations: 3.938 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.0061, allocations: 11.98 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.006292, allocations: 264.3 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.006364, allocations: 55.09 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.006382, allocations: 19.69 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.006394, allocations: 0 / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.305e-05/0.006477, allocations: 61.05 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.006478, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002924/0.00677, allocations: 137.4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.006789, allocations: 55.39 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.006861, allocations: 226.8 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.006868, allocations: 29.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.006903, allocations: 158.8 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.006924, allocations: 23.78 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.006949, allocations: 31.36 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.006993, allocations: 0.4962 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.007006, allocations: 11.98 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.007027, allocations: 35.28 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.007061, allocations: 43.44 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007062, allocations: 384 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.995e-05/0.007132, allocations: 93.45 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.007141, allocations: 12.03 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.007146, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.007154, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.007204, allocations: 19.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007207, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.007231, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.007237, allocations: 8 kB / 385.9 MB, free: 16.6 MB / 314.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 4.344e-05/0.00728, allocations: 160.5 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.007294, allocations: 19.84 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.007394, allocations: 99.08 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007396, allocations: 11.94 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007398, allocations: 3.984 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007401, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.007574, allocations: 361.6 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.007575, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.007594, allocations: 12 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007597, allocations: 3.984 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007602, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007603, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007604, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.007688, allocations: 255.4 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.007698, allocations: 7.953 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.007712, allocations: 8 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.007748, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.00777, allocations: 7.984 kB / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.00778, allocations: 8 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.124e-05/0.007821, allocations: 163.1 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007821, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.007985, allocations: 27.94 kB / 387 MB, free: 15.39 MB / 314.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.0008508/0.008836, allocations: 442.6 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.008919, allocations: 43.66 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00892, allocations: 0 / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.008948, allocations: 31.61 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.00915, allocations: 38.14 kB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.009386, allocations: 219.8 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.401e-05/0.00941, allocations: 71.2 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.009439, allocations: 17.41 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.00949, allocations: 98.12 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00949, allocations: 0 / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003054/0.01254, allocations: 2.061 MB / 390 MB, free: 12.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.215597057249397]