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.001029/0.001029, 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.001125/0.001125, allocations: 165.1 kB / 24.91 MB, free: 9.184 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.978/0.978, allocations: 177 MB / 205.2 MB, free: 5.461 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.2483/0.2483, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.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.563e-06/1.563e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.178e-05, allocations: 5.672 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002935/0.002957, allocations: 1.762 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.004559, allocations: 1.009 MB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.004643, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.004973, allocations: 43.64 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.0053, allocations: 95.55 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.005503, allocations: 79.59 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.005691, allocations: 112.4 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.005773, allocations: 11.98 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005886, allocations: 55.78 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.005972, allocations: 31.89 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005991, allocations: 4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.006087, allocations: 43.92 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.00614, allocations: 19.92 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.006182, allocations: 19.92 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.006379, allocations: 107.5 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006381, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006381, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.006384, allocations: 0 / 329.4 MB, free: 3.676 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004433/0.006828, allocations: 325.5 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.006868, allocations: 12.03 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.006907, allocations: 8.922 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.007093, allocations: 142.3 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.00711, allocations: 4.375 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.007131, allocations: 384 / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.007256, allocations: 65.77 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.007271, allocations: 12.09 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.00728, allocations: 4.359 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007288, allocations: 3.938 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.007321, allocations: 8 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.007576, allocations: 162 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.007697, allocations: 89.34 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.007725, allocations: 12.86 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.007736, allocations: 0 / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.007843, allocations: 66.16 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.007844, allocations: 0 / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003611/0.008205, allocations: 117.5 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.008242, allocations: 55.34 kB / 330.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.008377, allocations: 185.2 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.008396, allocations: 29.7 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.008432, allocations: 92.12 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.00847, allocations: 31.77 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.008505, allocations: 17.72 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.008602, allocations: 330.8 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.008626, allocations: 10.83 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.008655, allocations: 17.72 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.008714, allocations: 52.44 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008715, allocations: 4 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.433e-05/0.008809, allocations: 68.81 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.008822, allocations: 7.938 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.008829, allocations: 4 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008841, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.008915, allocations: 16 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.00892, allocations: 3.984 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.008957, allocations: 8 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.008964, allocations: 0 / 331.3 MB, free: 1.57 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 (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.256e-05/0.009036, allocations: 119.5 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.009057, allocations: 19.92 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.009175, allocations: 75.08 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.009177, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009179, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009183, allocations: 3.984 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.009453, allocations: 291.4 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.009456, allocations: 3.938 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.009486, allocations: 8 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009488, allocations: 0 / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009497, allocations: 12.03 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009499, allocations: 4.172 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0095, allocations: 0 / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.009629, allocations: 215.1 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.009644, allocations: 11.89 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.009665, allocations: 4 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.009725, allocations: 7.938 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.009753, allocations: 11.92 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.009764, allocations: 4 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.00982, allocations: 51.64 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009821, allocations: 0 / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.01005, allocations: 31.92 kB / 332.2 MB, free: 0.6406 MB / 298.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.001271/0.01132, allocations: 0.5578 MB / 332.7 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.0114, allocations: 44.78 kB / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0114, allocations: 0 / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.01143, allocations: 32.77 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.0116, allocations: 27.92 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.01187, allocations: 212 kB / 333 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.01192, allocations: 67.33 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01195, allocations: 13.41 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.01201, allocations: 71.36 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01201, allocations: 0 / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.003355/0.01537, allocations: 2.03 MB / 335.2 MB, free: 13.85 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: 2.950644228141755]