Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007371/0.007372, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.621/1.621, allocations: 205.1 MB / 222.5 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4323/0.4323, allocations: 39.95 MB / 309.9 MB, free: 9.496 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 67.91 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3714, allocations: 56.87 MB / 492.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00364/0.3752, allocations: 1.823 MB / 494.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.3774, allocations: 1.388 MB / 495.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3775, allocations: 1.094 kB / 495.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3778, allocations: 30.25 kB / 495.9 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.3778, allocations: 30.14 kB / 495.9 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3796, allocations: 0.5643 MB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.3799, allocations: 278.8 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3801, allocations: 45.45 kB / 496.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3803, allocations: 121.9 kB / 496.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3805, allocations: 167.3 kB / 497.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.3806, allocations: 23.28 kB / 497.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.3819, allocations: 0.8072 MB / 497.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3821, allocations: 114.2 kB / 498 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3823, allocations: 147.4 kB / 498.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3837, allocations: 1.077 MB / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3837, allocations: 0.6562 kB / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3837, allocations: 0 / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3837, allocations: 0 / 499.2 MB, free: 15.94 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.00124/0.385, allocations: 0.7335 MB / 500 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.385, allocations: 13.08 kB / 500 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.3851, allocations: 34.27 kB / 0.4883 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3854, allocations: 285.6 kB / 0.4886 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3854, allocations: 11.16 kB / 0.4886 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.3855, allocations: 28.12 kB / 0.4886 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.3861, allocations: 269.8 kB / 0.4889 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3861, allocations: 1.375 kB / 0.4889 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.3861, allocations: 5.906 kB / 0.4889 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3861, allocations: 3.469 kB / 0.4889 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.3866, allocations: 225.7 kB / 0.4891 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3877, allocations: 0.7558 MB / 0.4898 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.3882, allocations: 291.8 kB / 0.4901 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.3885, allocations: 193.3 kB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.3885, allocations: 3.359 kB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3886, allocations: 41.95 kB / 0.4903 GB, free: 14.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.3886, allocations: 0 / 0.4903 GB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001004/0.3896, allocations: 0.5337 MB / 0.4909 GB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3896, allocations: 80.98 kB / 0.4909 GB, free: 13.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.3899, allocations: 350 kB / 0.4913 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.39, allocations: 38.8 kB / 0.4913 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.39, allocations: 145.2 kB / 0.4914 GB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.3901, allocations: 103.7 kB / 0.4915 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3903, allocations: 121.1 kB / 0.4917 GB, free: 13.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.3904, allocations: 354.2 kB / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.3907, allocations: 282 kB / 0.4923 GB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.3912, allocations: 342.7 kB / 0.4926 GB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.3945, allocations: 1.761 MB / 0.4943 GB, free: 11.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3945, allocations: 0 / 0.4943 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001001/0.3956, allocations: 0.7683 MB / 0.4951 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3956, allocations: 4.625 kB / 0.4951 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.3956, allocations: 13.48 kB / 0.4951 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3956, allocations: 2.156 kB / 0.4951 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.3961, allocations: 96.25 kB / 0.4952 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3961, allocations: 2.469 kB / 0.4952 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3963, allocations: 66.3 kB / 0.4952 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3964, allocations: 13.19 kB / 0.4953 GB, free: 11.37 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.0002065/0.3966, allocations: 191.2 kB / 0.4954 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.3967, allocations: 30.06 kB / 0.4955 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3968, allocations: 42.08 kB / 0.4955 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3968, allocations: 3.25 kB / 0.4955 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3968, allocations: 0 / 0.4955 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3968, allocations: 5.062 kB / 0.4955 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3972, allocations: 338.4 kB / 0.4958 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3972, allocations: 5.031 kB / 0.4958 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.3975, allocations: 48.2 kB / 0.4959 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3976, allocations: 1.281 kB / 0.4959 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.3976, allocations: 17.64 kB / 0.4959 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3976, allocations: 1.656 kB / 0.4959 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3976, allocations: 1.125 kB / 0.4959 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.3985, allocations: 0.7531 MB / 0.4966 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.3986, allocations: 113.4 kB / 0.4967 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.3986, allocations: 10.84 kB / 0.4968 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3988, allocations: 16.52 kB / 0.4968 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3989, allocations: 19.77 kB / 0.4968 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3989, allocations: 9.422 kB / 0.4968 GB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3991, allocations: 220.9 kB / 0.497 GB, free: 10.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3991, allocations: 0 / 0.497 GB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009911/0.4001, allocations: 260.6 kB / 0.4973 GB, free: 9.969 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.000497/0.4006, allocations: 251.8 kB / 0.4975 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.4016, allocations: 0.7276 MB / 0.4982 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4016, allocations: 1.156 kB / 0.4982 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.4019, allocations: 193.3 kB / 0.4984 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.4024, allocations: 45.84 kB / 0.4984 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4035, allocations: 0.9415 MB / 0.4994 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.4038, allocations: 0.8098 MB / 0.5002 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.404, allocations: 65.94 kB / 0.5002 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.94e-05/0.4041, allocations: 21.12 kB / 0.5002 GB, free: 7.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4041, allocations: 0 / 0.5002 GB, free: 7.906 MB / 382.1 MB Notification: Performance of Templates: time 0.01074/0.4148, allocations: 6.565 MB / 0.5066 GB, free: 4.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)