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.0009646/0.0009646, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001005/0.001005, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9765/0.9765, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2393/0.2393, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.117e-05, allocations: 4.984 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001955/0.001966, allocations: 1.894 MB / 325.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.003427, allocations: 1.333 MB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.003496, allocations: 3.938 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003614, allocations: 35.66 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.003665, allocations: 35.72 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.004759, allocations: 0.6508 MB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.004959, allocations: 244 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.005045, allocations: 38.47 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.005203, allocations: 143.6 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.005345, allocations: 151.7 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.005375, allocations: 24 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.006896, allocations: 1.267 MB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.006998, allocations: 119.6 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.007066, allocations: 92.38 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.007973, allocations: 1.133 MB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.007974, allocations: 4 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007975, allocations: 0 / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.007978, allocations: 0 / 330.4 MB, free: 2.504 MB / 298.7 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.0006481/0.008626, allocations: 0.6206 MB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.008656, allocations: 8.031 kB / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.008768, allocations: 40.91 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.008957, allocations: 201.9 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.008968, allocations: 12.38 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.009008, allocations: 35.88 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.009216, allocations: 214.2 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.009223, allocations: 0 / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.009241, allocations: 8 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.009246, allocations: 4 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.009331, allocations: 53.58 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.00983, allocations: 480.8 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.009985, allocations: 224.2 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.01005, allocations: 50.58 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.01007, allocations: 8 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.01009, allocations: 38.5 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.0101, allocations: 0 / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002617/0.01036, allocations: 160.8 kB / 332.5 MB, free: 232 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01039, allocations: 88.98 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01055, allocations: 302.9 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01057, allocations: 37.7 kB / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.01063, allocations: 144.8 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.01068, allocations: 99.16 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.01077, allocations: 113.5 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.01085, allocations: 346.7 kB / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.01093, allocations: 83.81 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.01103, allocations: 123.4 kB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.01134, allocations: 369 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01134, allocations: 0 / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002749/0.01161, allocations: 293 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.01162, allocations: 4 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.01164, allocations: 7.984 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.01165, allocations: 7.938 kB / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.01194, allocations: 95.88 kB / 334.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01195, allocations: 4 kB / 334.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.01203, allocations: 71.34 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01205, allocations: 8 kB / 334.7 MB, free: 14 MB / 314.7 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.0001269/0.01217, allocations: 150.6 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.01222, allocations: 19.98 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.01226, allocations: 42.77 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01227, allocations: 4 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01227, allocations: 0 / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.01227, allocations: 0 / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.01244, allocations: 153.7 kB / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01245, allocations: 4 kB / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.01263, allocations: 47.91 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.01263, allocations: 3.938 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.01266, allocations: 15.98 kB / 335.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01266, allocations: 4 kB / 335.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01266, allocations: 0 / 335.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.01298, allocations: 476.9 kB / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.013, allocations: 35.64 kB / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.01303, allocations: 15.98 kB / 335.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01313, allocations: 8 kB / 335.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.01318, allocations: 27.83 kB / 335.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.01319, allocations: 4 kB / 335.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.01349, allocations: 108.6 kB / 335.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01349, allocations: 0 / 335.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.0139, allocations: 247.7 kB / 336 MB, free: 12.61 MB / 314.7 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.0003249/0.01422, allocations: 272.5 kB / 336.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.01453, allocations: 352.2 kB / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.01454, allocations: 0 / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.01462, allocations: 64.77 kB / 336.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01487, allocations: 53.06 kB / 336.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.01569, allocations: 0.7454 MB / 337.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.01577, allocations: 116.3 kB / 337.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.01588, allocations: 29.94 kB / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.01603, allocations: 95.34 kB / 337.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01603, allocations: 0 / 337.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Templates: time 0.008781/0.02481, allocations: 7.485 MB / 345.2 MB, free: 3.383 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.990696062799543]