Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 32.8 MB / 294.1 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.91 kB / 440.6 MB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 65.44 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002522/0.3394, allocations: 1.806 MB / 0.4959 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3411, allocations: 1.288 MB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.3412, allocations: 3.156 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3413, allocations: 29.84 kB / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.3414, allocations: 41.34 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3429, allocations: 0.6588 MB / 0.4979 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.3432, allocations: 305.6 kB / 0.4982 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3433, allocations: 33.58 kB / 0.4982 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3435, allocations: 130.3 kB / 0.4983 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3437, allocations: 169.6 kB / 0.4985 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.3437, allocations: 24.34 kB / 0.4985 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3454, allocations: 1.218 MB / 0.4997 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3455, allocations: 116.2 kB / 0.4998 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3456, allocations: 116.2 kB / 0.4999 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.3465, allocations: 1.094 MB / 0.501 GB, free: 28.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3465, allocations: 3.219 kB / 0.501 GB, free: 28.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3465, allocations: 0 / 0.501 GB, free: 28.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3465, allocations: 4 kB / 0.501 GB, free: 28.14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001097/0.3476, allocations: 0.6619 MB / 0.5016 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3477, allocations: 9.469 kB / 0.5017 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.3478, allocations: 44.53 kB / 0.5017 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3481, allocations: 228.3 kB / 0.5019 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3482, allocations: 14.56 kB / 0.5019 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.3482, allocations: 28.23 kB / 0.502 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.3487, allocations: 321 kB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3487, allocations: 0 / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3487, allocations: 11.22 kB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3487, allocations: 3.281 kB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.3491, allocations: 218.4 kB / 0.5025 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.35, allocations: 0.6441 MB / 0.5031 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3504, allocations: 288.8 kB / 0.5034 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.3507, allocations: 186.3 kB / 0.5036 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3507, allocations: 6.141 kB / 0.5036 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3507, allocations: 37.66 kB / 0.5036 GB, free: 26.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.492e-06/0.3507, allocations: 0 / 0.5036 GB, free: 26.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009133/0.3516, allocations: 0.5396 MB / 0.5041 GB, free: 26.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.3517, allocations: 87.25 kB / 0.5042 GB, free: 26.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3519, allocations: 355.1 kB / 0.5046 GB, free: 26.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.352, allocations: 29.7 kB / 0.5046 GB, free: 26.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.352, allocations: 139.9 kB / 0.5047 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.3521, allocations: 106.8 kB / 0.5048 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3522, allocations: 121.4 kB / 0.5049 GB, free: 25.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.3523, allocations: 356.8 kB / 0.5053 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.3526, allocations: 283.3 kB / 0.5055 GB, free: 25.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.353, allocations: 340.3 kB / 0.5059 GB, free: 25.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.3561, allocations: 1.759 MB / 0.5076 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3561, allocations: 3.938 kB / 0.5076 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009432/0.357, allocations: 0.7682 MB / 0.5083 GB, free: 24.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.357, allocations: 6 kB / 0.5083 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.357, allocations: 11.2 kB / 0.5084 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3571, allocations: 0 / 0.5084 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.3575, allocations: 106.7 kB / 0.5085 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3575, allocations: 2.844 kB / 0.5085 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3577, allocations: 69.56 kB / 0.5085 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3577, allocations: 13.73 kB / 0.5085 GB, free: 24.32 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001982/0.3579, allocations: 185.8 kB / 0.5087 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.358, allocations: 25.53 kB / 0.5087 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.3581, allocations: 43.14 kB / 0.5088 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3581, allocations: 3.938 kB / 0.5088 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3581, allocations: 7.188 kB / 0.5088 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3581, allocations: 1.406 kB / 0.5088 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3584, allocations: 243.5 kB / 0.509 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3584, allocations: 0.8438 kB / 0.509 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.3588, allocations: 45.02 kB / 0.5091 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3588, allocations: 3.156 kB / 0.5091 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3588, allocations: 17.39 kB / 0.5091 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3588, allocations: 0.5625 kB / 0.5091 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3588, allocations: 7.062 kB / 0.5091 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3599, allocations: 0.7441 MB / 0.5098 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.36, allocations: 34 kB / 0.5099 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.36, allocations: 17 kB / 0.5099 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3603, allocations: 6.984 kB / 0.5099 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.3604, allocations: 22.27 kB / 0.5099 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3604, allocations: 11.05 kB / 0.5099 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.3606, allocations: 223.2 kB / 0.5101 GB, free: 23.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 0.5101 GB, free: 23.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001082/0.3617, allocations: 257.3 kB / 0.5104 GB, free: 23.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0005434/0.3623, allocations: 260 kB / 0.5106 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3636, allocations: 0.6572 MB / 0.5113 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3636, allocations: 1.375 kB / 0.5113 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3639, allocations: 197.1 kB / 0.5114 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.3645, allocations: 51.42 kB / 0.5115 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3659, allocations: 0.9526 MB / 0.5124 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3662, allocations: 206.1 kB / 0.5126 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.3664, allocations: 66.38 kB / 0.5127 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3665, allocations: 22.5 kB / 0.5127 GB, free: 22.19 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3665, allocations: 0 / 0.5127 GB, free: 22.19 MB / 446.1 MB Notification: Performance of Templates: time 0.01684/0.3833, allocations: 6.61 MB / 0.5192 GB, free: 21.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.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.392930066911504]