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.001724/0.001724, allocations: 79.67 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.002281/0.002281, 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2174/0.2174, allocations: 34.26 MB / 295.4 MB, free: 14.48 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.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 0.002502/0.002502, allocations: 79.86 kB / 443.2 MB, free: 6.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3665, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004402/0.3709, allocations: 1.687 MB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.373, allocations: 0.9439 MB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3731, allocations: 3.938 kB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.3735, allocations: 65.89 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.3739, allocations: 110.8 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.3741, allocations: 69.66 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3743, allocations: 113.5 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.3744, allocations: 3.453 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.968e-05/0.3745, allocations: 45.62 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.3746, allocations: 52.23 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3746, allocations: 7.156 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3747, allocations: 30.66 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3748, allocations: 25.09 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.3749, allocations: 22.33 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3751, allocations: 106 kB / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3751, allocations: 0 / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3751, allocations: 0 / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3751, allocations: 3.156 kB / 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.0005892/0.3757, allocations: 343.5 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3758, allocations: 9.875 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.3758, allocations: 12.12 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3761, allocations: 146.5 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3761, allocations: 8.312 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3761, allocations: 3.594 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3763, allocations: 54.02 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3763, allocations: 0 / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3763, allocations: 0 / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3763, allocations: 0 / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.3764, allocations: 16.84 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3765, allocations: 135.9 kB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3767, allocations: 49.77 kB / 0.5013 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.3768, allocations: 22.58 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3768, allocations: 3.031 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.377, allocations: 67.17 kB / 0.5014 GB, free: 27.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.377, allocations: 0 / 0.5014 GB, free: 27.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003632/0.3774, allocations: 105.5 kB / 0.5015 GB, free: 26.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3774, allocations: 55.34 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3776, allocations: 201.2 kB / 0.5017 GB, free: 26.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3776, allocations: 25.7 kB / 0.5017 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3777, allocations: 105.7 kB / 0.5018 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3777, allocations: 26.41 kB / 0.5019 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.3777, allocations: 17 kB / 0.5019 GB, free: 26.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.3778, allocations: 325.4 kB / 0.5022 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.3779, allocations: 17.05 kB / 0.5022 GB, free: 26.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.3779, allocations: 30.67 kB / 0.5022 GB, free: 26.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3781, allocations: 47.48 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3781, allocations: 0 / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002091/0.3783, allocations: 85.11 kB / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3783, allocations: 14.16 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3783, allocations: 0 / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3783, allocations: 3.156 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3785, allocations: 10.41 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3785, allocations: 10.75 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.3785, allocations: 3.938 kB / 0.5024 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.3785, allocations: 3.156 kB / 0.5024 GB, free: 26.13 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 8.595e-05/0.3786, allocations: 122 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3787, allocations: 14.14 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3789, allocations: 99.47 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3789, allocations: 0 / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3789, allocations: 3.25 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3789, allocations: 0 / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.379, allocations: 135.5 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.379, allocations: 384 / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3791, allocations: 11.14 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3791, allocations: 3.125 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3791, allocations: 7.938 kB / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3791, allocations: 0 / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3791, allocations: 0 / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3793, allocations: 118.3 kB / 0.5029 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.3793, allocations: 11.12 kB / 0.5029 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3794, allocations: 3.938 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.3794, allocations: 6.969 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3795, allocations: 6.312 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3795, allocations: 0 / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3796, allocations: 154.8 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3796, allocations: 0 / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000367/0.38, allocations: 12.28 kB / 0.5031 GB, free: 25.59 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.002204/0.3822, allocations: 449 kB / 0.5035 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3824, allocations: 44.22 kB / 0.5035 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3824, allocations: 2.938 kB / 0.5035 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.3825, allocations: 27.09 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3829, allocations: 19.42 kB / 0.5036 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.3834, allocations: 218.6 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.3835, allocations: 99.31 kB / 0.5039 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.3835, allocations: 16.36 kB / 0.5039 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.3836, allocations: 14.88 kB / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3836, allocations: 0 / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of Templates: time 0.005792/0.3894, allocations: 1.617 MB / 0.5055 GB, free: 24.83 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/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: 4.98464988800697]