Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001327/0.001327, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001651/0.001651, allocations: 164.1 kB / 24.5 MB, free: 3.453 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.457/1.457, allocations: 177.1 MB / 204.7 MB, free: 8.992 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.2118/0.2118, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003854/0.003854, allocations: 83.8 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3723, allocations: 66.05 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00274/0.375, allocations: 1.687 MB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3765, allocations: 0.9582 MB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.3765, allocations: 3.125 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3768, allocations: 38.27 kB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3772, allocations: 101.3 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.3773, allocations: 84.75 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3775, allocations: 96.25 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.3776, allocations: 7.062 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.3776, allocations: 43.38 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.3777, allocations: 28.31 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3777, allocations: 6.562 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-05/0.3778, allocations: 31.31 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.3779, allocations: 32.67 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.3779, allocations: 33.36 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3781, allocations: 124.5 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3781, allocations: 0 / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3781, allocations: 7.312 kB / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3781, allocations: 0 / 0.5005 GB, free: 27.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004726/0.3786, allocations: 362.3 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3786, allocations: 9.875 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.3787, allocations: 15.42 kB / 0.5009 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3789, allocations: 169.9 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3789, allocations: 384 / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.379, allocations: 3.562 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3791, allocations: 50.69 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3791, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3791, allocations: 4 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3791, allocations: 3.25 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.3792, allocations: 17.31 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3793, allocations: 142.1 kB / 0.5013 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3795, allocations: 52.23 kB / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.3795, allocations: 18.48 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3795, allocations: 0 / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.3797, allocations: 66.73 kB / 0.5014 GB, free: 26.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3797, allocations: 7.938 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002741/0.3799, allocations: 108.6 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.38, allocations: 54.38 kB / 0.5015 GB, free: 26.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3802, allocations: 273.1 kB / 0.5018 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3802, allocations: 33.27 kB / 0.5018 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.3802, allocations: 113.4 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3802, allocations: 15.84 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3803, allocations: 19.41 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.3803, allocations: 328.1 kB / 0.5023 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.3804, allocations: 21 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.3804, allocations: 30.83 kB / 0.5023 GB, free: 26.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.3805, allocations: 52.47 kB / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3805, allocations: 0 / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/0.3806, allocations: 80.75 kB / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3807, allocations: 10.31 kB / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3807, allocations: 0 / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3807, allocations: 3.094 kB / 0.5025 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.3808, allocations: 13.88 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3808, allocations: 7.188 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.3808, allocations: 11.89 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3808, allocations: 3.125 kB / 0.5025 GB, free: 26.08 MB / 446.1 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 7.424e-05/0.3809, allocations: 131.8 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3809, allocations: 18.22 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.3811, allocations: 102.6 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3811, allocations: 3 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3811, allocations: 0 / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3811, allocations: 0 / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.3812, allocations: 145.4 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3812, allocations: 4 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.3812, allocations: 9.906 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3812, allocations: 0 / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3812, allocations: 3.938 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3812, allocations: 0 / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3812, allocations: 3.156 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3814, allocations: 118.1 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3814, allocations: 18.38 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3815, allocations: 11.19 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.3815, allocations: 4 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3815, allocations: 14.53 kB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3815, allocations: 3.25 kB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3817, allocations: 202 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 0 / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.3819, allocations: 22.58 kB / 0.5033 GB, free: 25.5 MB / 446.1 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.001551/0.3834, allocations: 427.2 kB / 0.5037 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3836, allocations: 44.19 kB / 0.5037 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3836, allocations: 0 / 0.5037 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.3837, allocations: 28.38 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3839, allocations: 25.53 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.3844, allocations: 280.9 kB / 0.5041 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.3844, allocations: 102.9 kB / 0.5042 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.3845, allocations: 13.77 kB / 0.5042 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3845, allocations: 15.14 kB / 0.5042 GB, free: 24.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3845, allocations: 7.281 kB / 0.5042 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Templates: time 0.00429/0.3888, allocations: 1.626 MB / 0.5058 GB, free: 24.74 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.057150224922225]