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.001296/0.001296, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001449/0.001449, allocations: 212.9 kB / 24.52 MB, free: 3.941 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2515/0.2515, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 73.58 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 65.48 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00457/0.3674, allocations: 1.789 MB / 0.5595 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3698, allocations: 1.288 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.37, allocations: 4 kB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3703, allocations: 31.72 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3705, allocations: 39.64 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.3729, allocations: 0.6781 MB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.3734, allocations: 311.2 kB / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3736, allocations: 38.38 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.3739, allocations: 123.6 kB / 0.5619 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.3742, allocations: 179.4 kB / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.3743, allocations: 24 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.3767, allocations: 1.329 MB / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3768, allocations: 115.7 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.377, allocations: 119.3 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.3787, allocations: 1.102 MB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3787, allocations: 4 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3787, allocations: 0 / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3787, allocations: 0 / 0.5647 GB, free: 376 kB / 398.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.001479/0.3802, allocations: 0.6638 MB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3803, allocations: 12.03 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.3803, allocations: 8.188 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.3804, allocations: 50.72 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3805, allocations: 44.69 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3809, allocations: 221.8 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3809, allocations: 12 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.381, allocations: 31.95 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.3816, allocations: 331 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3816, allocations: 0 / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3816, allocations: 7.938 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3816, allocations: 8 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.382, allocations: 223.8 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.3833, allocations: 0.6712 MB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.3838, allocations: 280.9 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3841, allocations: 185.6 kB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3842, allocations: 7.938 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3842, allocations: 38.56 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.3842, allocations: 4 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001108/0.3853, allocations: 0.5365 MB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3854, allocations: 81.11 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.3858, allocations: 352.6 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.3858, allocations: 33.7 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3859, allocations: 141 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3861, allocations: 107.1 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3863, allocations: 125.4 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3865, allocations: 354.7 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.3869, allocations: 288.8 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.3874, allocations: 340.2 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/0.3918, allocations: 1.756 MB / 0.5714 GB, free: 9.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3918, allocations: 0 / 0.5714 GB, free: 9.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001942/0.3937, allocations: 0.7699 MB / 0.5721 GB, free: 8.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3937, allocations: 7.938 kB / 0.5722 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.3938, allocations: 4 kB / 0.5722 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.3938, allocations: 4 kB / 0.5722 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.3945, allocations: 99.86 kB / 0.5723 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3945, allocations: 0 / 0.5723 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3949, allocations: 67.36 kB / 0.5723 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.3949, allocations: 12 kB / 0.5723 GB, free: 8.305 MB / 414.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.0004153/0.3953, allocations: 197.5 kB / 0.5725 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3955, allocations: 31.75 kB / 0.5726 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.3956, allocations: 42.7 kB / 0.5726 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3956, allocations: 4 kB / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.3956, allocations: 7.875 kB / 0.5726 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3956, allocations: 0 / 0.5726 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.3963, allocations: 268.6 kB / 0.5729 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3963, allocations: 4 kB / 0.5729 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.3969, allocations: 43.97 kB / 0.5729 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3969, allocations: 3.938 kB / 0.5729 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.3969, allocations: 19.98 kB / 0.5729 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3969, allocations: 4 kB / 0.5729 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3969, allocations: 0 / 0.5729 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3986, allocations: 0.7531 MB / 0.5737 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.3987, allocations: 27.91 kB / 0.5737 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3988, allocations: 23.92 kB / 0.5737 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.3992, allocations: 11.98 kB / 0.5737 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.3993, allocations: 15.97 kB / 0.5737 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3993, allocations: 8 kB / 0.5738 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003327/0.3996, allocations: 219 kB / 0.574 GB, free: 6.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 0 / 0.574 GB, free: 6.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009077/0.4005, allocations: 263.6 kB / 0.5742 GB, free: 6.305 MB / 414.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.002065/0.4026, allocations: 1.442 MB / 0.5756 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4038, allocations: 0.6686 MB / 0.5763 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4038, allocations: 0 / 0.5763 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.4041, allocations: 187.8 kB / 0.5765 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.4047, allocations: 40.17 kB / 0.5765 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.4109, allocations: 4.53 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.4111, allocations: 207.7 kB / 0.5811 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.4114, allocations: 70.23 kB / 0.5812 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.4116, allocations: 99.41 kB / 0.5813 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4116, allocations: 0 / 0.5813 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4533, allocations: 10.52 MB / 0.5915 GB, free: 4.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.66, allocations: 4.062 kB / 0.5915 GB, free: 4.637 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.807441223994829] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.825118837994523 12.849563891 12.465832309 Calling exit ...