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.001381/0.001381, allocations: 120 kB / 18.49 MB, free: 4.566 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.00151/0.00151, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.422/1.422, allocations: 230.5 MB / 254.7 MB, free: 15.16 MB / 206.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.216/0.216, allocations: 46.92 MB / 357.7 MB, free: 10.18 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 75.89 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1622, allocations: 66.04 MB / 0.5561 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003468/0.1657, allocations: 1.863 MB / 0.558 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1681, allocations: 1.413 MB / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1682, allocations: 7.938 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.1684, allocations: 27.72 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.1685, allocations: 35.66 kB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1701, allocations: 0.569 MB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.1705, allocations: 283.2 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1706, allocations: 44.27 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.1709, allocations: 127.6 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1712, allocations: 183.5 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.1712, allocations: 27.94 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1726, allocations: 0.9241 MB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1728, allocations: 119.6 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.1729, allocations: 139.2 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.1743, allocations: 1.086 MB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1743, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1743, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1743, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.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.001515/0.1758, allocations: 0.7391 MB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1759, allocations: 8.031 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.641e-05/0.1759, allocations: 4.188 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.206e-05/0.176, allocations: 50.73 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.1762, allocations: 40.7 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1766, allocations: 287.7 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1766, allocations: 12 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.1767, allocations: 27.89 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.1772, allocations: 267.2 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1772, allocations: 0 / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.1773, allocations: 8 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1773, allocations: 8 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.1777, allocations: 227.8 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1792, allocations: 0.75 MB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.1797, allocations: 288.9 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.18, allocations: 185.6 kB / 0.5656 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.1801, allocations: 15.91 kB / 0.5656 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1801, allocations: 34.56 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 4.488e-06/0.1801, allocations: 3.984 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001129/0.1812, allocations: 0.5443 MB / 0.5662 GB, free: 10.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.1813, allocations: 81.11 kB / 0.5663 GB, free: 10.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.1817, allocations: 352.6 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.1817, allocations: 29.7 kB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1819, allocations: 148.9 kB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.182, allocations: 107.1 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1821, allocations: 121.4 kB / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1823, allocations: 354.8 kB / 0.5673 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.1828, allocations: 284.8 kB / 0.5676 GB, free: 9.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.1833, allocations: 335.5 kB / 0.5679 GB, free: 9.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.1871, allocations: 1.762 MB / 0.5697 GB, free: 7.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1871, allocations: 0 / 0.5697 GB, free: 7.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001203/0.1883, allocations: 0.7621 MB / 0.5704 GB, free: 6.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1883, allocations: 11.94 kB / 0.5704 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.1883, allocations: 7.984 kB / 0.5704 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.1884, allocations: 4 kB / 0.5704 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1889, allocations: 95.88 kB / 0.5705 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1889, allocations: 4 kB / 0.5705 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1891, allocations: 71.34 kB / 0.5706 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1891, allocations: 12 kB / 0.5706 GB, free: 6.391 MB / 430.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.0002947/0.1894, allocations: 176.1 kB / 0.5708 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.1895, allocations: 39.73 kB / 0.5708 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1896, allocations: 38.72 kB / 0.5708 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1896, allocations: 0 / 0.5708 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1896, allocations: 0 / 0.5708 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1897, allocations: 4 kB / 0.5708 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.1902, allocations: 341.3 kB / 0.5712 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1902, allocations: 0 / 0.5712 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.1905, allocations: 51.84 kB / 0.5712 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.1905, allocations: 7.938 kB / 0.5712 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.1906, allocations: 12 kB / 0.5712 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1906, allocations: 8 kB / 0.5712 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1906, allocations: 3.984 kB / 0.5712 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1917, allocations: 0.7407 MB / 0.572 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.1918, allocations: 109 kB / 0.5721 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.1919, allocations: 15.94 kB / 0.5721 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1921, allocations: 19.98 kB / 0.5721 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.1922, allocations: 19.97 kB / 0.5721 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1922, allocations: 4 kB / 0.5721 GB, free: 4.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1924, allocations: 223 kB / 0.5723 GB, free: 4.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.5723 GB, free: 4.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009432/0.1934, allocations: 251.7 kB / 0.5726 GB, free: 4.25 MB / 430.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.001896/0.1953, allocations: 1.43 MB / 0.574 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1964, allocations: 0.6778 MB / 0.5746 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1964, allocations: 0 / 0.5746 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.1967, allocations: 187.8 kB / 0.5748 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.1972, allocations: 41.06 kB / 0.5749 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.2036, allocations: 4.531 MB / 0.5793 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.2041, allocations: 0.8067 MB / 0.5801 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.2043, allocations: 70.23 kB / 0.5801 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.2046, allocations: 103.4 kB / 0.5802 GB, free: 12.25 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2046, allocations: 0 / 0.5802 GB, free: 12.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.2467, allocations: 10.2 MB / 0.5902 GB, free: 2.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/8.846, allocations: 0 / 0.5902 GB, free: 2.176 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.173319516004995] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 8.973715570988134 9.200822785 9.023950793 Calling exit ...