Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1852/0.1852, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 75.17 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.1003, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003243/0.1036, allocations: 1.847 MB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1057, allocations: 1.399 MB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1058, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.106, allocations: 31.72 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.1061, allocations: 31.66 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1075, allocations: 0.569 MB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1078, allocations: 283.2 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1079, allocations: 52.22 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1081, allocations: 119.6 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1083, allocations: 171.4 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.1084, allocations: 20 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009473/0.1093, allocations: 0.7682 MB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1095, allocations: 115.7 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1096, allocations: 143.1 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1106, allocations: 1.08 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1106, allocations: 0 / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1107, allocations: 0 / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1107, allocations: 0 / 486.7 MB, free: 14.55 MB / 366.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.001179/0.1119, allocations: 0.7283 MB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1119, allocations: 8.031 kB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.112, allocations: 50.73 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1121, allocations: 36.55 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1124, allocations: 283.8 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1125, allocations: 12 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.1125, allocations: 27.91 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.113, allocations: 271.2 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.113, allocations: 0 / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.113, allocations: 8 kB / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.113, allocations: 0 / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.1134, allocations: 226 kB / 488.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1146, allocations: 0.7577 MB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.1151, allocations: 292.9 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.1154, allocations: 189.6 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1154, allocations: 7.938 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1154, allocations: 38.5 kB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.1154, allocations: 0 / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009019/0.1163, allocations: 0.5405 MB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1164, allocations: 81.11 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1167, allocations: 356.5 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1167, allocations: 33.7 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1168, allocations: 132.8 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.1169, allocations: 98.56 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.117, allocations: 117.7 kB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1172, allocations: 354.8 kB / 491.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.1176, allocations: 292.8 kB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.118, allocations: 335.5 kB / 491.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.1213, allocations: 1.773 MB / 493.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1213, allocations: 0 / 493.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00101/0.1223, allocations: 0.7731 MB / 494.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1224, allocations: 7.938 kB / 494.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1224, allocations: 8 kB / 494.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1224, allocations: 0 / 494.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.1229, allocations: 95.88 kB / 494.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1229, allocations: 4 kB / 494.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1231, allocations: 67.11 kB / 494.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1231, allocations: 12 kB / 494.7 MB, free: 6.332 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.0002502/0.1234, allocations: 191.3 kB / 494.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.1235, allocations: 27.56 kB / 494.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.1236, allocations: 38.72 kB / 494.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1236, allocations: 4 kB / 494.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1236, allocations: 0 / 494.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1236, allocations: 11.92 kB / 495 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.124, allocations: 341.3 kB / 495.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1241, allocations: 3.938 kB / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.1244, allocations: 51.91 kB / 495.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1244, allocations: 0 / 495.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.1245, allocations: 15.98 kB / 495.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1245, allocations: 0 / 495.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1245, allocations: 0 / 495.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1255, allocations: 0.7484 MB / 496.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1256, allocations: 108.8 kB / 496.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.1257, allocations: 11.98 kB / 496.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1259, allocations: 12 kB / 496.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.126, allocations: 15.91 kB / 496.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.126, allocations: 12 kB / 496.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1262, allocations: 219 kB / 496.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1262, allocations: 8 kB / 496.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000857/0.1271, allocations: 251.9 kB / 496.7 MB, free: 4.199 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.001836/0.1289, allocations: 1.435 MB / 498.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009849/0.1299, allocations: 0.7445 MB / 498.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1299, allocations: 0 / 498.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.1302, allocations: 191.8 kB / 499.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.1307, allocations: 48.98 kB / 499.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.1357, allocations: 4.514 MB / 0.4919 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1361, allocations: 0.8106 MB / 0.4926 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.1363, allocations: 66.25 kB / 0.4927 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1364, allocations: 103.4 kB / 0.4928 GB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1365, allocations: 0 / 0.4928 GB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3729/0.5093, allocations: 10.03 MB / 0.5026 GB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.54, allocations: 12.03 kB / 0.5026 GB, free: 2.191 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)