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.001225/0.001225, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001217/0.001217, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.175/1.175, allocations: 222.9 MB / 241.9 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1687/0.1687, allocations: 44.18 MB / 336.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 69.36 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08416, allocations: 60.83 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002598/0.08679, allocations: 1.885 MB / 470.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.08845, allocations: 1.337 MB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.08852, allocations: 3.938 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.08865, allocations: 19.86 kB / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.08873, allocations: 27.77 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.08984, allocations: 0.5146 MB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.0901, allocations: 283.2 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.09021, allocations: 44.3 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.09036, allocations: 111.6 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.09056, allocations: 175.4 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.0906, allocations: 24 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.09138, allocations: 0.7603 MB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.0915, allocations: 115.7 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.09161, allocations: 143.2 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000869/0.09248, allocations: 1.068 MB / 475.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09249, allocations: 3.938 kB / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.0925, allocations: 0 / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.09251, allocations: 0 / 475.3 MB, free: 8.129 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.001015/0.09353, allocations: 0.7206 MB / 476 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.09357, allocations: 11.97 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.09363, allocations: 50.73 kB / 476.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.0937, allocations: 32.56 kB / 476.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.09397, allocations: 279.8 kB / 476.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.09399, allocations: 12 kB / 476.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.09405, allocations: 23.91 kB / 476.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.0945, allocations: 283.6 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09452, allocations: 0 / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.09454, allocations: 8 kB / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.09455, allocations: 4 kB / 476.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.09493, allocations: 219.8 kB / 476.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.09595, allocations: 0.7577 MB / 477.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.09636, allocations: 284.9 kB / 478 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.09664, allocations: 197.6 kB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.09667, allocations: 4.422 kB / 478.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.0967, allocations: 42.44 kB / 478.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.09671, allocations: 0 / 478.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008853/0.0976, allocations: 0.5282 MB / 478.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.09764, allocations: 81.11 kB / 478.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.09793, allocations: 356.4 kB / 479.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.09797, allocations: 29.7 kB / 479.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.09805, allocations: 140.8 kB / 479.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.09814, allocations: 106.5 kB / 479.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.09828, allocations: 117.7 kB / 479.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.09841, allocations: 350.8 kB / 479.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.09878, allocations: 280.9 kB / 480.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.09918, allocations: 343.5 kB / 480.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.1023, allocations: 1.764 MB / 482.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1023, allocations: 3.938 kB / 482.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009676/0.1033, allocations: 0.7657 MB / 483 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1033, allocations: 4 kB / 483 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1033, allocations: 7.984 kB / 483.1 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1033, allocations: 11.98 kB / 483.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.1038, allocations: 99.81 kB / 483.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.1038, allocations: 4.047 kB / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.104, allocations: 63.06 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.104, allocations: 16 kB / 483.2 MB, free: 15.92 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.0001979/0.1042, allocations: 179.9 kB / 483.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.1043, allocations: 31.56 kB / 483.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.1044, allocations: 42.7 kB / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1044, allocations: 0 / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1044, allocations: 4 kB / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1044, allocations: 0 / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.1048, allocations: 333.3 kB / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1048, allocations: 7.922 kB / 483.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.1051, allocations: 47.98 kB / 483.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1051, allocations: 4 kB / 483.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1052, allocations: 15.98 kB / 483.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1052, allocations: 4 kB / 483.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1052, allocations: 3.938 kB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.1061, allocations: 0.7369 MB / 484.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.1061, allocations: 112.7 kB / 484.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.1062, allocations: 12 kB / 484.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1064, allocations: 11.98 kB / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.1065, allocations: 15.98 kB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1065, allocations: 7.984 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1067, allocations: 223 kB / 485 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1067, allocations: 0 / 485 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.1073, allocations: 255.8 kB / 485.3 MB, free: 13.81 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.001467/0.1088, allocations: 1.44 MB / 486.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.1097, allocations: 0.7523 MB / 487.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1097, allocations: 4 kB / 487.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.11, allocations: 191.8 kB / 487.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.1104, allocations: 51.41 kB / 487.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.1153, allocations: 4.57 MB / 492.3 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1156, allocations: 0.8067 MB / 493.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.1158, allocations: 62.25 kB / 493.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.116, allocations: 107.4 kB / 493.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.116, allocations: 0 / 493.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.613/1.729, allocations: 9.883 MB / 0.4913 GB, free: 11.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/1.729, allocations: 186.4 kB / 0.4915 GB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/4.363, allocations: 4.062 kB / 0.4915 GB, free: 11.7 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)