Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.002572/0.002572, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003148/0.003148, allocations: 164.8 kB / 24.27 MB, free: 156 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.615/1.615, allocations: 177 MB / 204.5 MB, free: 5.602 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.3412/0.3412, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.762e-05/3.945e-05, allocations: 4.984 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00497/0.005009, allocations: 1.723 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.007825, allocations: 1.001 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.007918, allocations: 7.938 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.00827, allocations: 35.72 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.008766, allocations: 99.58 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.009079, allocations: 83.66 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.009342, allocations: 107.5 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.009455, allocations: 11.98 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.009619, allocations: 47.89 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.009728, allocations: 35.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.009756, allocations: 4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.009897, allocations: 43.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.009986, allocations: 23.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.01005, allocations: 15.94 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.01037, allocations: 123.5 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01037, allocations: 3.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01038, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.01038, allocations: 0 / 380.7 MB, free: 15.43 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.0008345/0.01122, allocations: 443.6 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.01127, allocations: 12.03 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.01135, allocations: 20.84 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.01169, allocations: 153.1 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.0117, allocations: 384 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.01173, allocations: 4.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.01192, allocations: 54.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.01194, allocations: 4.172 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.01195, allocations: 384 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01196, allocations: 3.938 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.01207, allocations: 19.98 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.01266, allocations: 299.7 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.01292, allocations: 75.11 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.013, allocations: 19.67 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.01303, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01325, allocations: 72.98 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.01325, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008199/0.01407, allocations: 177.4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.01413, allocations: 51.41 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.0145, allocations: 250.4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.01454, allocations: 29.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.01481, allocations: 158.8 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.01486, allocations: 39.67 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.01494, allocations: 27.38 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003897/0.01533, allocations: 0.504 MB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.01542, allocations: 16 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.01554, allocations: 43.36 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.01573, allocations: 63.36 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01573, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003188/0.01605, allocations: 109.5 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.01607, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01608, allocations: 4.031 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.0161, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01625, allocations: 23.92 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01625, allocations: 160 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.01632, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.01634, allocations: 8 kB / 383.3 MB, free: 12.56 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.0001887/0.01653, allocations: 164.6 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.01657, allocations: 19.84 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.01697, allocations: 123 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.01698, allocations: 4 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01698, allocations: 4 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01699, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.01789, allocations: 416.9 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01789, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.01797, allocations: 11.98 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01797, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.01799, allocations: 4.375 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01799, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.018, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.01854, allocations: 271.4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.01858, allocations: 15.94 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.01862, allocations: 3.984 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.01876, allocations: 8 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.01882, allocations: 7.984 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01884, allocations: 3.938 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005379/0.01938, allocations: 179.2 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01938, allocations: 0 / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.01986, allocations: 31.86 kB / 384.5 MB, free: 11.23 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.005364/0.02523, allocations: 486.5 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.0258, allocations: 75.53 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.0258, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.02601, allocations: 39.67 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.02675, allocations: 27.97 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02778, allocations: 238 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.02798, allocations: 100.3 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.453e-05/0.02808, allocations: 13.28 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.02816, allocations: 20.48 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02816, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.03827, allocations: 1.858 MB / 387.4 MB, free: 8.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.033129915012978]