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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_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.001071/0.001071, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 185.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3226/0.3226, allocations: 43.57 MB / 315 MB, free: 8.863 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005518/0.0005522, allocations: 16 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 58.85 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002623/0.1523, allocations: 1.538 MB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.155, allocations: 1.436 MB / 446.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1552, allocations: 4 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1555, allocations: 19.84 kB / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1556, allocations: 23.78 kB / 446.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1573, allocations: 483.1 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.1577, allocations: 271.2 kB / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1579, allocations: 48.27 kB / 447.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1581, allocations: 95.61 kB / 447.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.1585, allocations: 151.5 kB / 447.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.1586, allocations: 12 kB / 447.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1599, allocations: 0.733 MB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1601, allocations: 111.7 kB / 448.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.1603, allocations: 152.8 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.1619, allocations: 1.041 MB / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.162, allocations: 0 / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.162, allocations: 0 / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.162, allocations: 0 / 449.6 MB, free: 6.453 MB / 382.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.001632/0.1636, allocations: 0.6777 MB / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1637, allocations: 15.97 kB / 450.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.806e-05/0.1638, allocations: 46.73 kB / 450.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.1639, allocations: 32.56 kB / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1643, allocations: 287.7 kB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1643, allocations: 11.94 kB / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1644, allocations: 24 kB / 450.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.1649, allocations: 279.1 kB / 451 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1649, allocations: 3.984 kB / 451 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1649, allocations: 8 kB / 451 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1649, allocations: 4 kB / 451 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.1653, allocations: 231.8 kB / 451.2 MB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.1666, allocations: 0.7616 MB / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.1671, allocations: 296.9 kB / 452.3 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.1674, allocations: 197.6 kB / 452.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1675, allocations: 4 kB / 452.5 MB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1675, allocations: 34.5 kB / 452.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.1675, allocations: 4 kB / 452.5 MB, free: 3.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001045/0.1686, allocations: 0.5481 MB / 453.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.1686, allocations: 77.11 kB / 453.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.169, allocations: 352.4 kB / 453.5 MB, free: 2.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1691, allocations: 37.7 kB / 453.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1692, allocations: 140.8 kB / 453.7 MB, free: 2.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.1692, allocations: 98.55 kB / 453.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.1694, allocations: 85.66 kB / 453.8 MB, free: 1.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1695, allocations: 354.8 kB / 454.2 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.1699, allocations: 284.9 kB / 454.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.1704, allocations: 351.2 kB / 454.8 MB, free: 1.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.215/0.3854, allocations: 1.775 MB / 456.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3854, allocations: 0.9688 kB / 456.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001274/0.3867, allocations: 0.7777 MB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3867, allocations: 3.812 kB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.3868, allocations: 10.08 kB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.3868, allocations: 3.5 kB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.3873, allocations: 97.98 kB / 457.5 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3873, allocations: 3.812 kB / 457.5 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3875, allocations: 64.19 kB / 457.5 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3876, allocations: 9.797 kB / 457.5 MB, free: 45.57 MB / 382.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.0002612/0.3878, allocations: 186.2 kB / 457.7 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.3879, allocations: 25.66 kB / 457.7 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.388, allocations: 39.19 kB / 457.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.388, allocations: 5.781 kB / 457.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.388, allocations: 0 / 457.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3881, allocations: 1.688 kB / 457.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.3884, allocations: 348.9 kB / 458.1 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3884, allocations: 3.844 kB / 458.1 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.3888, allocations: 47.62 kB / 458.2 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3888, allocations: 0 / 458.2 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.3888, allocations: 16.23 kB / 458.2 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3888, allocations: 0 / 458.2 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3889, allocations: 0 / 458.2 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.3897, allocations: 0.7654 MB / 459 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.3898, allocations: 107.5 kB / 459.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.3899, allocations: 14.98 kB / 459.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3901, allocations: 8.75 kB / 459.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.3902, allocations: 14.02 kB / 459.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3902, allocations: 11.59 kB / 459.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3904, allocations: 224 kB / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3904, allocations: 0 / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.3912, allocations: 245.6 kB / 459.6 MB, free: 44.86 MB / 382.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.001383/0.3926, allocations: 1.459 MB / 461 MB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.3935, allocations: 0.7456 MB / 461.8 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3935, allocations: 0 / 461.8 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3938, allocations: 197.1 kB / 462 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3943, allocations: 44.31 kB / 462 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.3994, allocations: 4.619 MB / 466.6 MB, free: 42.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3997, allocations: 0.8162 MB / 467.5 MB, free: 41.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.3999, allocations: 63.67 kB / 467.5 MB, free: 41.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4001, allocations: 100.1 kB / 467.6 MB, free: 41.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4001, allocations: 3.719 kB / 467.6 MB, free: 41.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.4239, allocations: 9.592 MB / 477.2 MB, free: 41.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.4241, allocations: 187.6 kB / 477.4 MB, free: 40.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.74, allocations: 0 / 477.4 MB, free: 40.76 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)