Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.001363/0.001363, allocations: 81.55 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.001417/0.001417, allocations: 159.9 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.486/1.486, allocations: 177.1 MB / 204.7 MB, free: 8.98 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.2111/0.2111, 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.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 80.2 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3557, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003056/0.3587, allocations: 1.81 MB / 0.499 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3606, allocations: 1.294 MB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3607, allocations: 3.281 kB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3609, allocations: 37.17 kB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.361, allocations: 34.33 kB / 0.5004 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.3627, allocations: 0.6611 MB / 0.501 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.363, allocations: 301 kB / 0.5013 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3632, allocations: 39.48 kB / 0.5013 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.3634, allocations: 118.9 kB / 0.5014 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3636, allocations: 174.8 kB / 0.5016 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.3636, allocations: 22.59 kB / 0.5016 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3653, allocations: 1.219 MB / 0.5028 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3654, allocations: 119.8 kB / 0.5029 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.3655, allocations: 113 kB / 0.503 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.3665, allocations: 1.099 MB / 0.5041 GB, free: 26.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3665, allocations: 0 / 0.5041 GB, free: 26.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3665, allocations: 0 / 0.5041 GB, free: 26.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3665, allocations: 2.906 kB / 0.5041 GB, free: 26.52 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.001034/0.3675, allocations: 0.6674 MB / 0.5048 GB, free: 26.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3675, allocations: 9.344 kB / 0.5048 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3677, allocations: 43.72 kB / 0.5048 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.368, allocations: 226.1 kB / 0.505 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.368, allocations: 12.03 kB / 0.5051 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.3681, allocations: 32.28 kB / 0.5051 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.3685, allocations: 326.3 kB / 0.5054 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.3685, allocations: 0 / 0.5054 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3685, allocations: 7 kB / 0.5054 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3685, allocations: 3 kB / 0.5054 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.3689, allocations: 224.6 kB / 0.5056 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.3698, allocations: 0.6366 MB / 0.5062 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3703, allocations: 284.9 kB / 0.5065 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.3705, allocations: 194.2 kB / 0.5067 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3705, allocations: 0 / 0.5067 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3706, allocations: 38.2 kB / 0.5067 GB, free: 24.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.193e-06/0.3706, allocations: 3 kB / 0.5067 GB, free: 24.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009015/0.3715, allocations: 0.5368 MB / 0.5073 GB, free: 24.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.3715, allocations: 84.91 kB / 0.5073 GB, free: 24.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3718, allocations: 353 kB / 0.5077 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3718, allocations: 33.7 kB / 0.5077 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.3719, allocations: 143.7 kB / 0.5078 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.3719, allocations: 109.1 kB / 0.508 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3721, allocations: 122.3 kB / 0.5081 GB, free: 24.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.3721, allocations: 351.3 kB / 0.5084 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.3725, allocations: 288.8 kB / 0.5087 GB, free: 23.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.3729, allocations: 339.8 kB / 0.509 GB, free: 23.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.3763, allocations: 1.761 MB / 0.5107 GB, free: 23.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3764, allocations: 0 / 0.5107 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001131/0.3775, allocations: 0.7656 MB / 0.5115 GB, free: 22.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3775, allocations: 6.875 kB / 0.5115 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.3775, allocations: 5.078 kB / 0.5115 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3775, allocations: 3.953 kB / 0.5115 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.378, allocations: 105.1 kB / 0.5116 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3781, allocations: 6.406 kB / 0.5116 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3782, allocations: 68.7 kB / 0.5117 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3783, allocations: 13.28 kB / 0.5117 GB, free: 22.71 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.0002105/0.3785, allocations: 183.1 kB / 0.5118 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.3786, allocations: 30.05 kB / 0.5119 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.3786, allocations: 40.97 kB / 0.5119 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3786, allocations: 6.688 kB / 0.5119 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3787, allocations: 0 / 0.5119 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3787, allocations: 2.734 kB / 0.5119 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.379, allocations: 240 kB / 0.5121 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.379, allocations: 3.938 kB / 0.5122 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.3794, allocations: 47.36 kB / 0.5122 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3794, allocations: 0.9375 kB / 0.5122 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.3794, allocations: 13.53 kB / 0.5122 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3794, allocations: 2.938 kB / 0.5122 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3794, allocations: 7.938 kB / 0.5122 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.3804, allocations: 0.752 MB / 0.513 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.3804, allocations: 32.88 kB / 0.513 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3805, allocations: 13.23 kB / 0.513 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3807, allocations: 10.17 kB / 0.513 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3808, allocations: 24.05 kB / 0.513 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3808, allocations: 9.703 kB / 0.513 GB, free: 21.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.381, allocations: 223.5 kB / 0.5133 GB, free: 21.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.381, allocations: 4 kB / 0.5133 GB, free: 21.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008392/0.3819, allocations: 248.9 kB / 0.5135 GB, free: 21.71 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.0004691/0.3823, allocations: 257.8 kB / 0.5137 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009628/0.3833, allocations: 0.665 MB / 0.5144 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3833, allocations: 1.375 kB / 0.5144 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.3836, allocations: 188.5 kB / 0.5146 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3841, allocations: 48.62 kB / 0.5146 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3854, allocations: 0.9507 MB / 0.5155 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3856, allocations: 203.1 kB / 0.5157 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.3857, allocations: 69.73 kB / 0.5158 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.3858, allocations: 22.88 kB / 0.5158 GB, free: 20.57 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3858, allocations: 0 / 0.5158 GB, free: 20.57 MB / 446.1 MB Notification: Performance of Templates: time 0.01438/0.4002, allocations: 6.61 MB / 0.5223 GB, free: 20.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.413611110998318]