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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006894/0.0006894, allocations: 90.02 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007167/0.0007167, allocations: 178.5 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.3 MB / 242.3 MB, free: 80 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1742/0.1742, allocations: 44.24 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002689, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.0835, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001678/0.08521, allocations: 1.537 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.08708, allocations: 1.388 MB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.08718, allocations: 4 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.08731, allocations: 27.73 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.08738, allocations: 23.78 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.08854, allocations: 487.1 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.0888, allocations: 267.3 kB / 476.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.08892, allocations: 40.28 kB / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.08907, allocations: 91.56 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.08926, allocations: 159.5 kB / 476.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.08931, allocations: 12 kB / 476.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.09021, allocations: 0.7291 MB / 477.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.09032, allocations: 99.7 kB / 477.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.09045, allocations: 152.9 kB / 477.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009624/0.09142, allocations: 1.044 MB / 478.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.09143, allocations: 0 / 478.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.09144, allocations: 4 kB / 478.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.09145, allocations: 3.938 kB / 478.4 MB, free: 7.172 MB / 350.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.001046/0.0925, allocations: 0.6738 MB / 479.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.09254, allocations: 15.97 kB / 479.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.0926, allocations: 50.72 kB / 479.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.09267, allocations: 32.5 kB / 479.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.09293, allocations: 279.9 kB / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.09296, allocations: 19.94 kB / 479.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.09303, allocations: 27.91 kB / 479.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.09346, allocations: 279.7 kB / 479.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.09348, allocations: 0 / 479.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.09351, allocations: 4 kB / 479.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.09352, allocations: 4 kB / 479.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.09392, allocations: 242.7 kB / 480 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.09498, allocations: 0.7577 MB / 480.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.0954, allocations: 296.9 kB / 481.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.09567, allocations: 189.6 kB / 481.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.09571, allocations: 8 kB / 481.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.09574, allocations: 38.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.504e-06/0.09574, allocations: 0 / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008992/0.09665, allocations: 0.556 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.09669, allocations: 81.11 kB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.09698, allocations: 348.5 kB / 482.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.09702, allocations: 37.7 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.0971, allocations: 132.8 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.09718, allocations: 106.5 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.09727, allocations: 81.67 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09737, allocations: 350.8 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.09776, allocations: 292.8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.09817, allocations: 347.5 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.1014, allocations: 1.776 MB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1014, allocations: 0 / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009962/0.1024, allocations: 0.7735 MB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1024, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.1024, allocations: 8 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1025, allocations: 0 / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.1029, allocations: 103.8 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1029, allocations: 0 / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1031, allocations: 79.05 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1031, allocations: 12 kB / 486.3 MB, free: 14.96 MB / 366.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.0002013/0.1034, allocations: 182.5 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.1034, allocations: 27.56 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1035, allocations: 42.72 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1035, allocations: 4 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1036, allocations: 0 / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1036, allocations: 3.984 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.1039, allocations: 337.3 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1039, allocations: 3.938 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.1043, allocations: 47.91 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1043, allocations: 4 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.1043, allocations: 19.98 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1043, allocations: 4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1043, allocations: 4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.1052, allocations: 0.7447 MB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.1053, allocations: 108.8 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1054, allocations: 11.98 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1056, allocations: 12 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.1056, allocations: 19.97 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1057, allocations: 4 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1058, allocations: 227 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1058, allocations: 0 / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006552/0.1065, allocations: 259.8 kB / 488.4 MB, free: 12.83 MB / 366.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.0015/0.108, allocations: 1.449 MB / 489.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.1089, allocations: 0.7328 MB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1089, allocations: 4 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1092, allocations: 195.8 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1096, allocations: 41.02 kB / 490.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.1144, allocations: 4.633 MB / 495.4 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1147, allocations: 0.8109 MB / 496.2 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.1149, allocations: 66.25 kB / 496.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1151, allocations: 103.4 kB / 496.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1151, allocations: 0 / 496.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.158/2.273, allocations: 9.588 MB / 0.4941 GB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/2.273, allocations: 194.2 kB / 0.4943 GB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/5.147, allocations: 0 / 0.4943 GB, free: 10.95 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)