Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.0016/0.0016, allocations: 81.47 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.001991/0.001991, allocations: 159.1 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.977 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.2117/0.2117, allocations: 34.27 MB / 295.4 MB, free: 14.47 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 83.86 kB / 443.2 MB, free: 6.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3444, allocations: 66.04 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002563/0.347, allocations: 1.727 MB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3483, allocations: 0.9684 MB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3484, allocations: 3.094 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3487, allocations: 86.47 kB / 0.5001 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.349, allocations: 117.4 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.3491, allocations: 80.19 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3493, allocations: 119.7 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.3494, allocations: 7.75 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.3494, allocations: 56.94 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.3495, allocations: 62.47 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3496, allocations: 6.406 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.3496, allocations: 44.44 kB / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.3497, allocations: 25.16 kB / 0.5005 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.3497, allocations: 40.83 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3499, allocations: 120.5 kB / 0.5007 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3499, allocations: 0 / 0.5007 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3499, allocations: 0 / 0.5007 GB, free: 27.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3499, allocations: 0 / 0.5007 GB, free: 27.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004579/0.3504, allocations: 361.2 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3504, allocations: 10 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3505, allocations: 12.12 kB / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3507, allocations: 152.9 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3507, allocations: 7.438 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3507, allocations: 7.562 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3508, allocations: 60.91 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3508, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3509, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3509, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.3509, allocations: 24.3 kB / 0.5013 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3512, allocations: 239.7 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.3514, allocations: 59.81 kB / 0.5016 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.3514, allocations: 25.84 kB / 0.5016 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3514, allocations: 0 / 0.5016 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.3516, allocations: 70.34 kB / 0.5017 GB, free: 26.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3516, allocations: 0 / 0.5017 GB, free: 26.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004931/0.352, allocations: 186.6 kB / 0.5019 GB, free: 26.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.3521, allocations: 54.44 kB / 0.5019 GB, free: 26.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3522, allocations: 227 kB / 0.5021 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3522, allocations: 29.7 kB / 0.5022 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.3523, allocations: 105.9 kB / 0.5023 GB, free: 26.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.3523, allocations: 33.55 kB / 0.5023 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3523, allocations: 28.25 kB / 0.5023 GB, free: 26.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.3524, allocations: 328.7 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.3524, allocations: 28.05 kB / 0.5027 GB, free: 25.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.3525, allocations: 33.47 kB / 0.5027 GB, free: 25.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3526, allocations: 64.44 kB / 0.5028 GB, free: 25.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.3526, allocations: 0 / 0.5028 GB, free: 25.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.3528, allocations: 104.5 kB / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3528, allocations: 6.375 kB / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3528, allocations: 4.031 kB / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3528, allocations: 3.156 kB / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.3529, allocations: 15.8 kB / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3529, allocations: 0 / 0.5029 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.353, allocations: 11.06 kB / 0.5029 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.353, allocations: 3.062 kB / 0.5029 GB, free: 25.86 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 (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 6.695e-05/0.353, allocations: 134.2 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.3531, allocations: 13.97 kB / 0.503 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3533, allocations: 127 kB / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3533, allocations: 7.031 kB / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3533, allocations: 0 / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3533, allocations: 0 / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.3536, allocations: 353.4 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3536, allocations: 2.781 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3537, allocations: 8.094 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3537, allocations: 3.469 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3537, allocations: 6.75 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3537, allocations: 384 / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3537, allocations: 2.75 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3539, allocations: 227.2 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.3539, allocations: 11.06 kB / 0.5038 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3539, allocations: 8 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.354, allocations: 3.156 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.354, allocations: 10.75 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.354, allocations: 3.125 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3541, allocations: 176.2 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3541, allocations: 0 / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3544, allocations: 26.94 kB / 0.504 GB, free: 25.05 MB / 446.1 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.001754/0.3561, allocations: 482.8 kB / 0.5044 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3563, allocations: 60.72 kB / 0.5045 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3563, allocations: 3.219 kB / 0.5045 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.3564, allocations: 35.58 kB / 0.5045 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3567, allocations: 36.45 kB / 0.5046 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.3571, allocations: 254.1 kB / 0.5048 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.331e-05/0.3572, allocations: 98.78 kB / 0.5049 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.443e-05/0.3572, allocations: 18.31 kB / 0.5049 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.3573, allocations: 18.75 kB / 0.5049 GB, free: 24.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3573, allocations: 0 / 0.5049 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004459/0.3617, allocations: 1.855 MB / 0.5067 GB, free: 24.22 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.979831987991929]