Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007689/0.0007689, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001795, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001313/0.001313, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002801, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8603/0.8603, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1296/0.9898, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1828/0.1828, allocations: 32.36 MB / 253.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0195/0.2023, allocations: 12.3 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.376e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001847/0.001861, allocations: 1.878 MB / 269.3 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003471, allocations: 1.318 MB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.003534, allocations: 7.938 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.56e-05/0.00362, allocations: 35.66 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.003663, allocations: 31.72 kB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.004577, allocations: 0.6152 MB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.004761, allocations: 231.2 kB / 271.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.00485, allocations: 30.55 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.005005, allocations: 151.6 kB / 271.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005145, allocations: 155.7 kB / 271.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.005175, allocations: 24 kB / 271.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.006258, allocations: 1.177 MB / 273 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.006346, allocations: 99.69 kB / 273.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.006406, allocations: 67.81 kB / 273.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.007119, allocations: 0.9505 MB / 274.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.007128, allocations: 0 / 274.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007129, allocations: 0 / 274.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.007139, allocations: 3.938 kB / 274.1 MB, free: 11.76 MB / 282.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.0007197/0.007858, allocations: 0.705 MB / 274.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.007889, allocations: 12.03 kB / 274.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.007949, allocations: 28.91 kB / 274.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.008134, allocations: 205.9 kB / 275.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.008147, allocations: 16.31 kB / 275.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.008187, allocations: 23.94 kB / 275.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.008403, allocations: 218.2 kB / 275.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008412, allocations: 3.984 kB / 275.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.008426, allocations: 8 kB / 275.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008434, allocations: 4 kB / 275.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.008515, allocations: 57.56 kB / 275.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.009024, allocations: 484.8 kB / 275.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.009181, allocations: 212.2 kB / 276.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.009243, allocations: 49.7 kB / 276.1 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.009263, allocations: 4 kB / 276.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.009283, allocations: 42.56 kB / 276.2 MB, free: 9.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.009285, allocations: 0 / 276.2 MB, free: 9.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002602/0.009545, allocations: 165.9 kB / 276.4 MB, free: 9.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.009579, allocations: 88.98 kB / 276.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.009745, allocations: 302.9 kB / 276.7 MB, free: 8.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.009769, allocations: 33.7 kB / 276.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.01009, allocations: 132.8 kB / 276.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.01015, allocations: 115 kB / 277 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.01024, allocations: 113.6 kB / 277.1 MB, free: 8.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.01033, allocations: 350.7 kB / 277.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.01041, allocations: 83.81 kB / 277.5 MB, free: 8.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/0.01051, allocations: 123.4 kB / 277.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.0108, allocations: 350.1 kB / 278 MB, free: 7.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01081, allocations: 4 kB / 278 MB, free: 7.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002751/0.01108, allocations: 296.8 kB / 278.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01109, allocations: 8 kB / 278.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.01111, allocations: 0 / 278.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01112, allocations: 4 kB / 278.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.01143, allocations: 103.9 kB / 278.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01143, allocations: 0 / 278.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.01152, allocations: 75.34 kB / 278.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01153, allocations: 12 kB / 278.5 MB, free: 7.172 MB / 282.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.0001456/0.01168, allocations: 150.9 kB / 278.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.01172, allocations: 19.98 kB / 278.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.01177, allocations: 42.77 kB / 278.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01177, allocations: 7.984 kB / 278.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01178, allocations: 4 kB / 278.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01178, allocations: 0 / 278.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01195, allocations: 149.7 kB / 278.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01195, allocations: 0 / 278.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.01214, allocations: 55.91 kB / 278.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.01217, allocations: 35.69 kB / 279 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01217, allocations: 0 / 279 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.01219, allocations: 15.92 kB / 279 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.0122, allocations: 4 kB / 279 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0122, allocations: 0 / 279 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.01252, allocations: 481.9 kB / 279.4 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.01255, allocations: 11.98 kB / 279.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.01264, allocations: 8 kB / 279.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.01269, allocations: 19.97 kB / 279.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.0127, allocations: 3.984 kB / 279.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.01276, allocations: 96.62 kB / 279.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01276, allocations: 3.938 kB / 279.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.0132, allocations: 259.7 kB / 279.8 MB, free: 5.781 MB / 282.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.0003434/0.01354, allocations: 283.8 kB / 280.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.01384, allocations: 358.1 kB / 280.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01385, allocations: 4 kB / 280.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.01393, allocations: 80.75 kB / 280.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01422, allocations: 274.7 kB / 280.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.01522, allocations: 0.687 MB / 281.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.172e-05/0.01528, allocations: 108.3 kB / 281.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.01535, allocations: 25.88 kB / 281.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.01549, allocations: 99.34 kB / 281.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01549, allocations: 0 / 281.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of Templates: time 0.1065/0.122, allocations: 7.393 MB / 289.1 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9307239511981606]