Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001902/0.001902, allocations: 77.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002276/0.002276, allocations: 158.8 kB / 24.5 MB, free: 3.719 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 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.2095/0.2095, allocations: 34.25 MB / 295.4 MB, free: 14.5 MB / 286.1 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 79.86 kB / 443.2 MB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3552, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003186/0.3584, allocations: 1.881 MB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3599, allocations: 1.076 MB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.36, allocations: 2.969 kB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3604, allocations: 255.4 kB / 0.5005 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.3607, allocations: 237.8 kB / 0.5007 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3609, allocations: 114.1 kB / 0.5008 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.3612, allocations: 281.5 kB / 0.5011 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3613, allocations: 12.19 kB / 0.5011 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3615, allocations: 137.4 kB / 0.5012 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.3617, allocations: 201.9 kB / 0.5014 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3617, allocations: 13.59 kB / 0.5014 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3618, allocations: 68.31 kB / 0.5015 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.3619, allocations: 74.25 kB / 0.5016 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.362, allocations: 66 kB / 0.5016 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3623, allocations: 260.6 kB / 0.5019 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3623, allocations: 3.562 kB / 0.5019 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3623, allocations: 0 / 0.5019 GB, free: 27.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3623, allocations: 0 / 0.5019 GB, free: 27.24 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006784/0.363, allocations: 0.5201 MB / 0.5024 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.363, allocations: 12.84 kB / 0.5024 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.363, allocations: 32.06 kB / 0.5024 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3633, allocations: 231.3 kB / 0.5027 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3633, allocations: 7.75 kB / 0.5027 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3634, allocations: 3.812 kB / 0.5027 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3635, allocations: 117 kB / 0.5028 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3636, allocations: 3.188 kB / 0.5028 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3636, allocations: 4 kB / 0.5028 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3636, allocations: 3.125 kB / 0.5028 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3637, allocations: 50.75 kB / 0.5028 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.3641, allocations: 426.1 kB / 0.5032 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3645, allocations: 121.6 kB / 0.5034 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.3645, allocations: 44.81 kB / 0.5034 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.3646, allocations: 2.75 kB / 0.5034 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.3648, allocations: 126.5 kB / 0.5035 GB, free: 25.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3648, allocations: 0 / 0.5035 GB, free: 25.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.00116/0.3659, allocations: 0.5267 MB / 0.504 GB, free: 25.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.366, allocations: 87.89 kB / 0.5041 GB, free: 25.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.3664, allocations: 0.5005 MB / 0.5046 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3664, allocations: 36.64 kB / 0.5046 GB, free: 25.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.3665, allocations: 166.8 kB / 0.5048 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.3665, allocations: 79.23 kB / 0.5049 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.3666, allocations: 40.48 kB / 0.5049 GB, free: 25.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.3667, allocations: 351.2 kB / 0.5053 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3668, allocations: 61.05 kB / 0.5053 GB, free: 24.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3669, allocations: 94.77 kB / 0.5054 GB, free: 24.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.3671, allocations: 163 kB / 0.5056 GB, free: 24.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3671, allocations: 0 / 0.5056 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003388/0.3675, allocations: 244.4 kB / 0.5058 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3675, allocations: 9.406 kB / 0.5058 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3675, allocations: 4.062 kB / 0.5058 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3675, allocations: 3 kB / 0.5058 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3676, allocations: 48.62 kB / 0.5059 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3677, allocations: 3.125 kB / 0.5059 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.3677, allocations: 10.45 kB / 0.5059 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3677, allocations: 6.094 kB / 0.5059 GB, free: 24.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001396/0.3679, allocations: 176.7 kB / 0.506 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3679, allocations: 34.83 kB / 0.5061 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.3684, allocations: 280.5 kB / 0.5063 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3684, allocations: 7.156 kB / 0.5063 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3684, allocations: 3.938 kB / 0.5064 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3684, allocations: 6.688 kB / 0.5064 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.3691, allocations: 0.6873 MB / 0.507 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3691, allocations: 0 / 0.507 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.3692, allocations: 32.55 kB / 0.5071 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3692, allocations: 3.062 kB / 0.5071 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3692, allocations: 14.86 kB / 0.5071 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3692, allocations: 2.906 kB / 0.5071 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3692, allocations: 3.359 kB / 0.5071 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.3696, allocations: 452.4 kB / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.3696, allocations: 33.38 kB / 0.5075 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3696, allocations: 10.5 kB / 0.5076 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3698, allocations: 10.58 kB / 0.5076 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3698, allocations: 22.88 kB / 0.5076 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3698, allocations: 10.38 kB / 0.5076 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.3701, allocations: 387.3 kB / 0.508 GB, free: 23.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 0 / 0.508 GB, free: 23.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.3704, allocations: 49.34 kB / 0.508 GB, free: 23.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001924/0.3723, allocations: 0.5357 MB / 0.5085 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.3727, allocations: 157.5 kB / 0.5087 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3727, allocations: 0 / 0.5087 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3728, allocations: 90.66 kB / 0.5088 GB, free: 22.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3733, allocations: 57.23 kB / 0.5088 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.374, allocations: 0.6174 MB / 0.5094 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3741, allocations: 184.8 kB / 0.5096 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.3742, allocations: 45.59 kB / 0.5097 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.3743, allocations: 29.7 kB / 0.5097 GB, free: 22.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3743, allocations: 0 / 0.5097 GB, free: 22.33 MB / 446.1 MB Notification: Performance of Templates: time 0.00696/0.3812, allocations: 3.332 MB / 0.5129 GB, free: 21.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.032283790991642]