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: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009859/0.0009856, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.19 MB / 345.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09375, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001796/0.09557, allocations: 1.561 MB / 485.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.09763, allocations: 1.451 MB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.09774, allocations: 7.938 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.09787, allocations: 19.86 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.09795, allocations: 19.78 kB / 486.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.09919, allocations: 495.1 kB / 487.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.09947, allocations: 275.2 kB / 487.5 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.09959, allocations: 40.28 kB / 487.6 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.09979, allocations: 99.56 kB / 487.7 MB, free: 188 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1, allocations: 163.4 kB / 487.8 MB, free: 24 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.1, allocations: 12 kB / 487.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.101, allocations: 0.7292 MB / 488.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1012, allocations: 107.7 kB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1013, allocations: 148.9 kB / 488.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.1021, allocations: 0.8461 MB / 489.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1022, allocations: 0 / 489.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1022, allocations: 0 / 489.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1022, allocations: 0 / 489.7 MB, free: 14.18 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.001127/0.1033, allocations: 0.6777 MB / 490.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1034, allocations: 8.875 kB / 490.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.1035, allocations: 48.55 kB / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1038, allocations: 276 kB / 490.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1039, allocations: 20 kB / 490.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1039, allocations: 27.91 kB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1044, allocations: 279.6 kB / 491 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1044, allocations: 0 / 491 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.1045, allocations: 7.984 kB / 491 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1045, allocations: 4 kB / 491 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1049, allocations: 227.8 kB / 491.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1061, allocations: 0.7616 MB / 492 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.1065, allocations: 300.9 kB / 492.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1068, allocations: 197.6 kB / 492.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1069, allocations: 8 kB / 492.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1069, allocations: 38.5 kB / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.1069, allocations: 0 / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009815/0.1079, allocations: 0.5527 MB / 493.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1079, allocations: 77.11 kB / 493.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.1083, allocations: 356.5 kB / 493.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.1083, allocations: 29.7 kB / 493.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1084, allocations: 140.8 kB / 493.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.1085, allocations: 102.5 kB / 493.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.1086, allocations: 81.66 kB / 493.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1087, allocations: 354.7 kB / 494.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.1092, allocations: 300.8 kB / 494.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.1096, allocations: 331.5 kB / 494.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.1132, allocations: 1.785 MB / 496.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1132, allocations: 0 / 496.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001102/0.1143, allocations: 0.7842 MB / 497.4 MB, free: 6.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1143, allocations: 4 kB / 497.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.1143, allocations: 7.984 kB / 497.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1144, allocations: 4 kB / 497.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.1148, allocations: 91.88 kB / 497.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1149, allocations: 4 kB / 497.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1151, allocations: 75.11 kB / 497.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1151, allocations: 8 kB / 497.6 MB, free: 6.012 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.0002225/0.1153, allocations: 179.1 kB / 497.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1154, allocations: 43.55 kB / 497.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1155, allocations: 34.72 kB / 497.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1156, allocations: 0 / 497.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1156, allocations: 0 / 497.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1156, allocations: 4 kB / 497.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.116, allocations: 345.2 kB / 498.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.116, allocations: 0 / 498.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.1164, allocations: 55.91 kB / 498.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1164, allocations: 0 / 498.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.1164, allocations: 12 kB / 498.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1164, allocations: 7.984 kB / 498.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1164, allocations: 0 / 498.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009951/0.1174, allocations: 0.7671 MB / 499 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1175, allocations: 112.8 kB / 499.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.1176, allocations: 11.98 kB / 499.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1178, allocations: 12 kB / 499.1 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.1179, allocations: 15.97 kB / 499.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1179, allocations: 8 kB / 499.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1181, allocations: 223 kB / 499.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1181, allocations: 0 / 499.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.1188, allocations: 251.9 kB / 499.6 MB, free: 3.867 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.0005363/0.1194, allocations: 263 kB / 499.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.1203, allocations: 0.7367 MB / 0.4889 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1203, allocations: 8 kB / 0.4889 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1207, allocations: 199.7 kB / 0.4891 GB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1212, allocations: 41 kB / 0.4891 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1225, allocations: 1.101 MB / 0.4902 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1228, allocations: 0.8109 MB / 0.491 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1229, allocations: 19.44 kB / 0.491 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.123, allocations: 4 kB / 0.491 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of Templates: time 0.009026/0.132, allocations: 6.388 MB / 0.4972 GB, free: 10.26 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)