Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.002783/0.002783, allocations: 99.53 kB / 20.96 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.003287/0.003287, allocations: 156.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.688/1.688, 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.4474/0.4474, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.619e-05/5.935e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004608/0.004667, allocations: 1.69 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.007271, allocations: 0.9776 MB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.007342, allocations: 3.938 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.007726, allocations: 67.73 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.008119, allocations: 111.5 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.008336, allocations: 75.59 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.008587, allocations: 103.7 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.008643, allocations: 4.234 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.008798, allocations: 67.75 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.00893, allocations: 43.88 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.008958, allocations: 4 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.009057, allocations: 27.94 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.009132, allocations: 31.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.009188, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.009437, allocations: 103.6 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.009442, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.009443, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.009449, allocations: 0 / 380.6 MB, free: 15.47 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007761/0.01022, allocations: 439.6 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.01026, allocations: 8.031 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.01033, allocations: 12.89 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.01062, allocations: 157.1 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.01064, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.01065, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.0108, allocations: 50.22 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.01081, allocations: 4.125 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.01082, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01083, allocations: 7.938 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.0109, allocations: 15.92 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.01113, allocations: 148.7 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01132, allocations: 51.11 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.01139, allocations: 27.67 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01141, allocations: 0 / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.01159, allocations: 72.98 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.01159, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003158/0.01191, allocations: 89.58 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.01197, allocations: 59.34 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01226, allocations: 250.4 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.01228, allocations: 25.7 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01241, allocations: 158.9 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.01244, allocations: 11.91 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.01249, allocations: 23.38 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005319/0.01302, allocations: 0.504 MB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.01307, allocations: 15.92 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.01314, allocations: 31.38 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.01324, allocations: 47.36 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01324, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001845/0.01343, allocations: 81.83 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01345, allocations: 8 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.01345, allocations: 64 / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01347, allocations: 4 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.01355, allocations: 19.95 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01356, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.0136, allocations: 7.938 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01362, allocations: 4 kB / 382.9 MB, free: 12.94 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 (7): * Single equations (assignments): 7 * 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.0001451/0.01376, allocations: 164.5 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.01379, allocations: 15.89 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.01401, allocations: 90.83 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01401, allocations: 0 / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01401, allocations: 3.938 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01402, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.0142, allocations: 156.6 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.0142, allocations: 0 / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.01425, allocations: 4 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01425, allocations: 7.938 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01426, allocations: 7.984 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01426, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01426, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.0145, allocations: 132.2 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.01452, allocations: 7.953 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01454, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.01458, allocations: 4 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.01463, allocations: 15.92 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01464, allocations: 4 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.01481, allocations: 175.2 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01481, allocations: 0 / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.01502, allocations: 15.94 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002966/0.01799, allocations: 431.3 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.0182, allocations: 55.58 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0182, allocations: 0 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.01828, allocations: 31.67 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.01857, allocations: 24.05 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.01909, allocations: 217.9 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.0192, allocations: 89.38 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.01926, allocations: 16.73 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.0193, allocations: 16.5 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0193, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005739/0.02504, allocations: 1.634 MB / 386.2 MB, free: 9.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.253449950017966]