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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.4 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008832, allocations: 95.55 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.137e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.6021, allocations: 87.76 MB / 0.5875 GB, free: 1.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.6024, allocations: 63.97 kB / 0.5876 GB, free: 1.402 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.6336, allocations: 9.519 MB / 0.5969 GB, free: 7.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6336, allocations: 0 / 0.5969 GB, free: 7.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.6336, allocations: 11.98 kB / 0.5969 GB, free: 7.867 MB / 410.7 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.001311/0.635, allocations: 0.6458 MB / 0.5975 GB, free: 7.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.635, allocations: 16.03 kB / 0.5975 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.6351, allocations: 46.55 kB / 0.5976 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.6352, allocations: 31.53 kB / 0.5976 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.6357, allocations: 295.9 kB / 0.5979 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.6357, allocations: 15.95 kB / 0.5979 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.6358, allocations: 24 kB / 0.5979 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.6363, allocations: 259.2 kB / 0.5982 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6363, allocations: 0 / 0.5982 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.6363, allocations: 12 kB / 0.5982 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.6363, allocations: 4 kB / 0.5982 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.6367, allocations: 203.8 kB / 0.5984 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.6381, allocations: 0.7616 MB / 0.5991 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.6385, allocations: 281 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.6388, allocations: 177.6 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.6389, allocations: 7.984 kB / 0.5996 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6389, allocations: 34.56 kB / 0.5996 GB, free: 4.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.6389, allocations: 0 / 0.5996 GB, free: 4.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006722/0.6396, allocations: 377.2 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.6396, allocations: 93 kB / 0.6 GB, free: 4.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.64, allocations: 310.7 kB / 0.6003 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.64, allocations: 33.7 kB / 0.6004 GB, free: 4.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.6401, allocations: 140.8 kB / 0.6005 GB, free: 3.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.6402, allocations: 94.53 kB / 0.6006 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.6402, allocations: 8 kB / 0.6006 GB, free: 3.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6404, allocations: 346.8 kB / 0.6009 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.6408, allocations: 272.7 kB / 0.6012 GB, free: 3.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.6412, allocations: 326.3 kB / 0.6015 GB, free: 2.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.6416, allocations: 305.9 kB / 0.6018 GB, free: 2.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6416, allocations: 4 kB / 0.6018 GB, free: 2.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009572/0.6426, allocations: 0.7261 MB / 0.6025 GB, free: 1.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6426, allocations: 5.25 kB / 0.6025 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.6426, allocations: 4 kB / 0.6025 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.6427, allocations: 15.89 kB / 0.6025 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.6432, allocations: 103.9 kB / 0.6026 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.6432, allocations: 4 kB / 0.6026 GB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.6434, allocations: 67.12 kB / 0.6027 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.6435, allocations: 11.98 kB / 0.6027 GB, free: 1.633 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.6437, allocations: 135.3 kB / 0.6028 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.6437, allocations: 23.62 kB / 0.6029 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.6439, allocations: 46.78 kB / 0.6029 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6439, allocations: 7.953 kB / 0.6029 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.6439, allocations: 0 / 0.6029 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6439, allocations: 3.984 kB / 0.6029 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.6444, allocations: 341.3 kB / 0.6032 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6444, allocations: 0 / 0.6032 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.6448, allocations: 43.97 kB / 0.6033 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.6448, allocations: 4 kB / 0.6033 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.6448, allocations: 11.98 kB / 0.6033 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6449, allocations: 8 kB / 0.6033 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6449, allocations: 3.953 kB / 0.6033 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6459, allocations: 0.7297 MB / 0.604 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.646, allocations: 108.7 kB / 0.6041 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.6461, allocations: 15.98 kB / 0.6041 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6463, allocations: 15.95 kB / 0.6042 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.6464, allocations: 19.97 kB / 0.6042 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.6464, allocations: 4 kB / 0.6042 GB, free: 20 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002919/0.6467, allocations: 222.1 kB / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6467, allocations: 0 / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001365/0.6481, allocations: 275.7 kB / 0.6047 GB, free: 15.53 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/0.6501, allocations: 1.516 MB / 0.6061 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009512/0.651, allocations: 0.7134 MB / 0.6068 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.651, allocations: 0 / 0.6068 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.6513, allocations: 183.8 kB / 0.607 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.6517, allocations: 37.28 kB / 0.607 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.6534, allocations: 1.013 MB / 0.608 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.6538, allocations: 0.8146 MB / 0.6088 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000189/0.654, allocations: 66.02 kB / 0.6089 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.6542, allocations: 103.4 kB / 0.609 GB, free: 10.97 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6542, allocations: 0 / 0.609 GB, free: 10.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.6789, allocations: 9.457 MB / 0.6182 GB, free: 1.664 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.6791, allocations: 133.9 kB / 0.6183 GB, free: 1.445 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.926, allocations: 0 / 0.6183 GB, free: 1.445 MB / 426.7 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/linux/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)