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.001344/0.001344, allocations: 96.28 kB / 15.69 MB, free: 480 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.001845/0.001845, allocations: 177.7 kB / 16.57 MB, free: 6.852 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.646/1.646, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3464/0.3464, allocations: 43.54 MB / 314.5 MB, free: 9.09 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.0004384/0.0004384, allocations: 12 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002134/0.1164, allocations: 1.5 MB / 444.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1185, allocations: 1.312 MB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.1186, allocations: 8 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1188, allocations: 27.78 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.1189, allocations: 27.88 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1201, allocations: 431.1 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1204, allocations: 159.7 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1205, allocations: 44.27 kB / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1207, allocations: 103.7 kB / 446.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1209, allocations: 159.5 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.121, allocations: 15.94 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.1219, allocations: 0.62 MB / 447.2 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.122, allocations: 99.75 kB / 447.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.1221, allocations: 69.52 kB / 447.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000843/0.1229, allocations: 0.8149 MB / 448.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1229, allocations: 4 kB / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1229, allocations: 0 / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.123, allocations: 0 / 448.2 MB, free: 7.816 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.001152/0.1241, allocations: 0.6853 MB / 448.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1242, allocations: 12.03 kB / 448.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.1242, allocations: 50.5 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.1243, allocations: 27.62 kB / 449 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1247, allocations: 275.2 kB / 449.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1247, allocations: 15.98 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.1248, allocations: 27.91 kB / 449.3 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1252, allocations: 279.1 kB / 449.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1253, allocations: 0 / 449.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.1253, allocations: 8 kB / 449.6 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1253, allocations: 7.953 kB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1257, allocations: 231.8 kB / 449.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.127, allocations: 0.7655 MB / 450.6 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.1275, allocations: 296.9 kB / 450.9 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1275, allocations: 4 kB / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1275, allocations: 30.56 kB / 450.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.1275, allocations: 0 / 450.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000998/0.1285, allocations: 0.5611 MB / 451.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1286, allocations: 81.11 kB / 451.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.1289, allocations: 344.5 kB / 451.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.129, allocations: 37.7 kB / 451.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.1291, allocations: 136.8 kB / 452 MB, free: 3.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.1292, allocations: 102.5 kB / 452.1 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.1292, allocations: 4 kB / 452.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1293, allocations: 346.8 kB / 452.5 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.1297, allocations: 288.8 kB / 452.8 MB, free: 3.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1302, allocations: 347.5 kB / 453.1 MB, free: 2.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1307, allocations: 337.7 kB / 453.4 MB, free: 2.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1307, allocations: 0 / 453.4 MB, free: 2.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001036/0.1317, allocations: 0.7608 MB / 454.2 MB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1318, allocations: 4 kB / 454.2 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.1318, allocations: 4 kB / 454.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1318, allocations: 7.938 kB / 454.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.1323, allocations: 99.88 kB / 454.3 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1323, allocations: 3.984 kB / 454.3 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1325, allocations: 63.12 kB / 454.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1326, allocations: 12 kB / 454.4 MB, free: 1.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.1328, allocations: 184.3 kB / 454.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.1329, allocations: 27.62 kB / 454.6 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.133, allocations: 38.72 kB / 454.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.133, allocations: 0 / 454.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.133, allocations: 11.98 kB / 454.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1331, allocations: 3.984 kB / 454.7 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1335, allocations: 345.2 kB / 455 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1335, allocations: 0 / 455 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.1339, allocations: 51.91 kB / 455 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1339, allocations: 0 / 455 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.1339, allocations: 23.92 kB / 455.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1339, allocations: 0 / 455.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1339, allocations: 0 / 455.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2709/0.4049, allocations: 0.7631 MB / 455.8 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4051, allocations: 105.5 kB / 455.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.4052, allocations: 17.81 kB / 455.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.4056, allocations: 13.25 kB / 456 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.4057, allocations: 19.75 kB / 456 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.4057, allocations: 7.094 kB / 456 MB, free: 45.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.406, allocations: 223.1 kB / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4061, allocations: 0 / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.4072, allocations: 248.3 kB / 456.4 MB, free: 45.82 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 (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.002198/0.4095, allocations: 1.526 MB / 458 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4109, allocations: 0.7357 MB / 458.7 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4109, allocations: 6.656 kB / 458.7 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4114, allocations: 194.3 kB / 458.9 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.4119, allocations: 38.98 kB / 458.9 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4141, allocations: 1.574 MB / 460.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4144, allocations: 0.811 MB / 461.3 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.4146, allocations: 67.47 kB / 461.4 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.4149, allocations: 101.5 kB / 461.5 MB, free: 43.37 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4149, allocations: 3.531 kB / 461.5 MB, free: 43.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4353, allocations: 9.549 MB / 471 MB, free: 42.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.4355, allocations: 166.7 kB / 471.2 MB, free: 42.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.715, allocations: 7.938 kB / 471.2 MB, free: 42.61 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/linux/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) Environment - environmentSimulation: