Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.00173/0.00173, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002184/0.002184, allocations: 156.9 kB / 24.27 MB, free: 168 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.694/1.694, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3832/0.3832, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.244e-06, allocations: 4 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.449e-05/4.174e-05, allocations: 6.25 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003624/0.003666, allocations: 1.708 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.006745, allocations: 1.679 MB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.006837, allocations: 3.938 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.007157, allocations: 43.7 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.007589, allocations: 107.4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.007818, allocations: 75.66 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.008035, allocations: 119.5 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.008135, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.00826, allocations: 59.83 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.008392, allocations: 31.89 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.008415, allocations: 8 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.008629, allocations: 99.81 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.008695, allocations: 23.92 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.008751, allocations: 23.92 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.0091, allocations: 179.4 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009104, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.009106, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.009111, allocations: 3.938 kB / 381.5 MB, free: 14.63 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.0007066/0.009818, allocations: 349.5 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.009862, allocations: 8.031 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.009935, allocations: 12.89 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.01029, allocations: 150.2 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.01031, allocations: 4.375 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.01034, allocations: 8.375 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01058, allocations: 101.6 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.0106, allocations: 3.938 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.01062, allocations: 3.984 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01062, allocations: 4 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.01071, allocations: 19.98 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.01116, allocations: 232.5 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01136, allocations: 62.61 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.01145, allocations: 28.78 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01147, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.01165, allocations: 67.39 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01165, allocations: 0 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006592/0.01231, allocations: 181.3 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.01239, allocations: 81.11 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01261, allocations: 174.2 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01264, allocations: 29.7 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.01273, allocations: 96.14 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.01277, allocations: 27.78 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.01282, allocations: 25.72 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.013, allocations: 318.8 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.01307, allocations: 23.98 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01318, allocations: 72.2 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.01334, allocations: 65.64 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.01334, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.01357, allocations: 113.5 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01359, allocations: 8 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01359, allocations: 4.062 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01361, allocations: 0 / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.01371, allocations: 12 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01371, allocations: 4.156 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.01377, allocations: 7.922 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01378, allocations: 7.984 kB / 383.7 MB, free: 12.16 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 0.0001393/0.01392, allocations: 132 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.01395, allocations: 7.953 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.01425, allocations: 118.9 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01425, allocations: 8 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01426, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.01426, allocations: 3.984 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.01482, allocations: 350.9 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01482, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.01487, allocations: 12 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01487, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01489, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01489, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01489, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.01525, allocations: 228.2 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01527, allocations: 7.953 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.0153, allocations: 8 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.01538, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.01543, allocations: 7.984 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.01546, allocations: 8 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.01561, allocations: 135.2 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01561, allocations: 0 / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.01595, allocations: 47.86 kB / 384.8 MB, free: 11.03 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.002665/0.01861, allocations: 0.5816 MB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01886, allocations: 47.98 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.01887, allocations: 0 / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.01896, allocations: 35.92 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.01936, allocations: 34.91 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.01993, allocations: 209.4 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.02005, allocations: 97.38 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.868e-05/0.02013, allocations: 17.27 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.02019, allocations: 20.5 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02019, allocations: 0 / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006957/0.02714, allocations: 2.54 MB / 388.3 MB, free: 7.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.235239955014549]