Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001016/0.001016, allocations: 80.8 kB / 21.5 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.001342/0.001342, allocations: 177.1 kB / 24.91 MB, free: 8.766 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 34.26 MB / 296.1 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.332e-05, allocations: 7.453 kB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00225/0.002283, allocations: 1.85 MB / 327.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.004019, allocations: 1.341 MB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004146, allocations: 11.94 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004293, allocations: 27.72 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.004353, allocations: 31.66 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.005729, allocations: 0.6937 MB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.005986, allocations: 235.8 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.006084, allocations: 38.47 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.006306, allocations: 147.6 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006452, allocations: 147.7 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.006484, allocations: 24 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.007838, allocations: 1.224 MB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.007999, allocations: 127.6 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.008089, allocations: 91.73 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.009392, allocations: 1.133 MB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.009395, allocations: 0 / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.009396, allocations: 0 / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.0094, allocations: 0 / 332.3 MB, free: 0.5938 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.0008337/0.01023, allocations: 0.6296 MB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.01027, allocations: 8.031 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.0104, allocations: 40.89 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.01061, allocations: 193.9 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.01062, allocations: 20.38 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.01067, allocations: 31.88 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.0109, allocations: 214.2 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01092, allocations: 0 / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.01094, allocations: 11.97 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01094, allocations: 8 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.01105, allocations: 50.7 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.01169, allocations: 480.7 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.01187, allocations: 217.2 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.01194, allocations: 49.7 kB / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.01197, allocations: 4 kB / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.012, allocations: 42.5 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.012, allocations: 0 / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002781/0.01228, allocations: 161.1 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.01232, allocations: 93.05 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01253, allocations: 307 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.01255, allocations: 33.7 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.01262, allocations: 136.8 kB / 335 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.01268, allocations: 103.1 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01278, allocations: 117.5 kB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.01289, allocations: 350.7 kB / 335.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01299, allocations: 75.83 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01311, allocations: 123.4 kB / 335.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.01343, allocations: 351.6 kB / 336.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01343, allocations: 0 / 336.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002951/0.01373, allocations: 304.7 kB / 336.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01374, allocations: 7.938 kB / 336.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.01376, allocations: 4 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01377, allocations: 0 / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01404, allocations: 87.89 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01405, allocations: 4 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.01413, allocations: 71.28 kB / 336.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01415, allocations: 8 kB / 336.6 MB, free: 12.11 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.0001555/0.01431, allocations: 144.8 kB / 336.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.01435, allocations: 19.98 kB / 336.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.01441, allocations: 42.77 kB / 336.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01441, allocations: 4 kB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01441, allocations: 0 / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01442, allocations: 3.984 kB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.01461, allocations: 157.6 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01461, allocations: 8 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.01482, allocations: 43.92 kB / 337 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.01483, allocations: 7.938 kB / 337 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.01486, allocations: 11.98 kB / 337 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01486, allocations: 4 kB / 337 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01486, allocations: 0 / 337 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.01526, allocations: 472.9 kB / 337.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01529, allocations: 39.64 kB / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.01532, allocations: 15.92 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.01542, allocations: 12 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.01546, allocations: 15.95 kB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.01547, allocations: 8 kB / 337.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.01555, allocations: 104.6 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 3.938 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.01615, allocations: 247.7 kB / 337.9 MB, free: 10.71 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.0003799/0.01653, allocations: 272.5 kB / 338.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.01688, allocations: 348.4 kB / 338.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.01688, allocations: 4 kB / 338.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.01696, allocations: 72.75 kB / 338.6 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01721, allocations: 45.67 kB / 338.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.01815, allocations: 0.7443 MB / 339.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.01823, allocations: 120.3 kB / 339.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.382e-05/0.0183, allocations: 21.94 kB / 339.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.01844, allocations: 91.36 kB / 339.6 MB, free: 8.934 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01844, allocations: 4 kB / 339.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of Templates: time 0.009561/0.02801, allocations: 7.492 MB / 347.1 MB, free: 1.488 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.424027036409825]