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.001371/0.001371, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001635/0.001635, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 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.9325/0.9325, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.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.1398/0.1398, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.893e-06/1.893e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.132e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00231/0.002332, allocations: 1.871 MB / 301 MB, free: 292 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1535/0.1559, allocations: 1.308 MB / 302.3 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.156, allocations: 2.219 kB / 302.3 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1561, allocations: 34.59 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.1562, allocations: 34.09 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.158, allocations: 0.6485 MB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1584, allocations: 236 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1585, allocations: 33.12 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1588, allocations: 131.1 kB / 303.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1591, allocations: 147.9 kB / 303.5 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.1591, allocations: 24.38 kB / 303.6 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.1615, allocations: 1.27 MB / 304.8 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.1617, allocations: 116.2 kB / 304.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1618, allocations: 95.19 kB / 305 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.1637, allocations: 1.123 MB / 306.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1637, allocations: 0 / 306.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1637, allocations: 0.625 kB / 306.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1637, allocations: 0.5938 kB / 306.2 MB, free: 18.42 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.0009607/0.1646, allocations: 0.6205 MB / 306.8 MB, free: 17.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1647, allocations: 9.406 kB / 306.8 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.1647, allocations: 29.45 kB / 306.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1649, allocations: 203.3 kB / 307 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.165, allocations: 12.09 kB / 307 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.165, allocations: 35.3 kB / 307.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1653, allocations: 217.9 kB / 307.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1653, allocations: 1.406 kB / 307.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1653, allocations: 5.312 kB / 307.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1653, allocations: 3.312 kB / 307.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1654, allocations: 54.47 kB / 307.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.166, allocations: 491.4 kB / 307.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1662, allocations: 213.9 kB / 308 MB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.1662, allocations: 49.22 kB / 308.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1663, allocations: 6.406 kB / 308.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1663, allocations: 37.56 kB / 308.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.755e-06/0.1663, allocations: 1.078 kB / 308.1 MB, free: 17.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003199/0.1666, allocations: 165.1 kB / 308.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.1666, allocations: 83.92 kB / 308.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1668, allocations: 312 kB / 308.7 MB, free: 16.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1668, allocations: 35.2 kB / 308.7 MB, free: 16.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.1669, allocations: 129.4 kB / 308.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1669, allocations: 108 kB / 308.9 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1671, allocations: 121.7 kB / 309 MB, free: 16.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.1671, allocations: 347.8 kB / 309.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1672, allocations: 77.91 kB / 309.5 MB, free: 16.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1673, allocations: 124.4 kB / 309.6 MB, free: 16.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.1678, allocations: 359.5 kB / 309.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1678, allocations: 1.125 kB / 309.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0003486/0.1681, allocations: 295 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1681, allocations: 9.75 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.1681, allocations: 6.859 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1682, allocations: 6.719 kB / 310.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.1685, allocations: 96.5 kB / 310.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1685, allocations: 1.219 kB / 310.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1686, allocations: 68.2 kB / 310.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1686, allocations: 5.312 kB / 310.4 MB, free: 15.72 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.0001603/0.1688, allocations: 161.2 kB / 310.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1688, allocations: 22.8 kB / 310.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1689, allocations: 38.42 kB / 310.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1689, allocations: 3.953 kB / 310.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1689, allocations: 0 / 310.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1689, allocations: 0 / 310.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1691, allocations: 150.7 kB / 310.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1691, allocations: 0 / 310.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1693, allocations: 54.06 kB / 310.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1693, allocations: 5.094 kB / 310.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1693, allocations: 13.2 kB / 310.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1693, allocations: 0.6875 kB / 310.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1693, allocations: 5 kB / 310.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1697, allocations: 473.6 kB / 311.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1697, allocations: 34.5 kB / 311.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1698, allocations: 13.48 kB / 311.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1699, allocations: 6.75 kB / 311.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1699, allocations: 22.84 kB / 311.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1699, allocations: 6.734 kB / 311.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.523e-05/0.17, allocations: 96.88 kB / 311.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.17, allocations: 0 / 311.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001019/0.171, allocations: 260 kB / 311.8 MB, free: 14.87 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.0004725/0.1715, allocations: 273.2 kB / 312 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.172, allocations: 354.5 kB / 312.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.172, allocations: 2.594 kB / 312.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.1721, allocations: 72.33 kB / 312.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1724, allocations: 45.78 kB / 312.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1734, allocations: 0.7353 MB / 313.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.1735, allocations: 112.3 kB / 313.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.507e-05/0.1735, allocations: 23.39 kB / 313.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1737, allocations: 100.6 kB / 313.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1737, allocations: 1.125 kB / 313.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01109/0.1848, allocations: 7.486 MB / 320.9 MB, free: 8.062 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0699936812743545]