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.00184/0.00184, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001984/0.001984, allocations: 160.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.607/1.607, allocations: 177 MB / 204.4 MB, free: 5.613 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.3818/0.3818, allocations: 34.26 MB / 295.2 MB, free: 0.6289 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.093e-05/4.272e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.005222/0.005265, allocations: 1.74 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.00752, allocations: 0.997 MB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.007641, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.008031, allocations: 51.64 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.00853, allocations: 99.52 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.008862, allocations: 71.69 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.009126, allocations: 115.5 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.00925, allocations: 8 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.009398, allocations: 47.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.009505, allocations: 27.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.009531, allocations: 4 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.009668, allocations: 51.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.009751, allocations: 23.91 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.009809, allocations: 23.92 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.01009, allocations: 115.6 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01009, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01009, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.0101, allocations: 3.938 kB / 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.0007557/0.01086, allocations: 443.6 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.0109, allocations: 8.031 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.01097, allocations: 20.84 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.01124, allocations: 153.1 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.01126, allocations: 4.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.01129, allocations: 8.375 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.01144, allocations: 50.23 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01145, allocations: 192 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.01146, allocations: 4.375 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01147, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.01155, allocations: 15.98 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.01204, allocations: 303.7 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.01224, allocations: 67.16 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.0123, allocations: 19.69 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.01232, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.01249, allocations: 72.98 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.517e-06/0.01249, allocations: 7.922 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006346/0.01312, allocations: 173.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.01318, allocations: 55.34 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.01344, allocations: 250.4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.01347, allocations: 25.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.0136, allocations: 162.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.01364, allocations: 27.78 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.0137, allocations: 31.36 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.01401, allocations: 0.5079 MB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.01407, allocations: 20 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.01415, allocations: 47.3 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.01429, allocations: 67.3 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01429, allocations: 384 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.01451, allocations: 97.58 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01454, allocations: 8 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01454, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01456, allocations: 3.984 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01467, allocations: 19.94 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01468, allocations: 8.188 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.01472, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01473, allocations: 4 kB / 383.3 MB, free: 12.55 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.0001551/0.01489, allocations: 164.6 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01493, allocations: 19.84 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.01522, allocations: 123 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01522, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01522, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.01523, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.01583, allocations: 416.9 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01583, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.01588, allocations: 11.98 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01588, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01589, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01589, allocations: 4 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01589, allocations: 3.938 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.01625, allocations: 263.5 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.01628, allocations: 15.89 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01631, allocations: 7.938 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.01639, allocations: 4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.01645, allocations: 12.02 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.01647, allocations: 4 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.01665, allocations: 179.2 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01665, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01691, allocations: 27.92 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.00342/0.02033, allocations: 490.5 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.02057, allocations: 75.53 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02057, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.02067, allocations: 43.61 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.02104, allocations: 23.98 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.0005845/0.02163, allocations: 230 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.02175, allocations: 100.4 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.02181, allocations: 17.28 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.02187, allocations: 20.48 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02187, allocations: 0 / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.006432/0.0283, allocations: 1.858 MB / 387.4 MB, free: 8.512 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.1225650070700794]