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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 108.3 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192.7 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 227.9 MB, free: 4.352 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3353/0.3353, allocations: 43.51 MB / 320.8 MB, free: 9.008 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002261/0.002261, allocations: 67.89 kB / 450 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2662, allocations: 57.78 MB / 0.4959 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002472/0.2687, allocations: 1.84 MB / 0.4977 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2704, allocations: 1.389 MB / 0.499 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.2705, allocations: 2.156 kB / 0.499 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.2707, allocations: 26.08 kB / 0.4991 GB, free: 17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.2707, allocations: 31.19 kB / 0.4991 GB, free: 16.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.272, allocations: 0.5577 MB / 0.4996 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.2723, allocations: 281.2 kB / 0.4999 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2724, allocations: 51.28 kB / 0.5 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2726, allocations: 117.8 kB / 0.5001 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.2728, allocations: 166.8 kB / 0.5002 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.2728, allocations: 23.09 kB / 0.5003 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2739, allocations: 0.8085 MB / 0.501 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.274, allocations: 116.7 kB / 0.5012 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2741, allocations: 148.7 kB / 0.5013 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2751, allocations: 1.073 MB / 0.5023 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2751, allocations: 0 / 0.5023 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2751, allocations: 0 / 0.5023 GB, free: 14.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2751, allocations: 0 / 0.5023 GB, free: 14.92 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.001099/0.2762, allocations: 0.7263 MB / 0.5031 GB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2763, allocations: 13.7 kB / 0.5031 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.2764, allocations: 48.36 kB / 0.5031 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.2764, allocations: 33.42 kB / 0.5031 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.2767, allocations: 284.9 kB / 0.5034 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2767, allocations: 14.88 kB / 0.5034 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.2768, allocations: 30.94 kB / 0.5035 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.2772, allocations: 270.2 kB / 0.5037 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2773, allocations: 7.875 kB / 0.5037 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.2773, allocations: 6.156 kB / 0.5037 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2773, allocations: 3 kB / 0.5037 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.2777, allocations: 224.6 kB / 0.5039 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2788, allocations: 0.7513 MB / 0.5047 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.2792, allocations: 292.3 kB / 0.505 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.2795, allocations: 191.5 kB / 0.5051 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.2795, allocations: 6.25 kB / 0.5052 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2795, allocations: 36.69 kB / 0.5052 GB, free: 12.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.2795, allocations: 0 / 0.5052 GB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009526/0.2805, allocations: 0.5388 MB / 0.5057 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2805, allocations: 80.55 kB / 0.5058 GB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.2808, allocations: 356.1 kB / 0.5061 GB, free: 12.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2809, allocations: 35.7 kB / 0.5062 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.281, allocations: 139.7 kB / 0.5063 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.281, allocations: 102.5 kB / 0.5064 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.2812, allocations: 119.7 kB / 0.5065 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.2812, allocations: 349 kB / 0.5068 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.2816, allocations: 287.1 kB / 0.5071 GB, free: 11.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.282, allocations: 350.8 kB / 0.5074 GB, free: 11.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.2853, allocations: 1.756 MB / 0.5092 GB, free: 10.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2853, allocations: 0 / 0.5092 GB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009613/0.2863, allocations: 0.765 MB / 0.5099 GB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2863, allocations: 8.969 kB / 0.5099 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.2864, allocations: 9 kB / 0.5099 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2864, allocations: 2.531 kB / 0.5099 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.2869, allocations: 95.88 kB / 0.51 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2869, allocations: 2.062 kB / 0.51 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2871, allocations: 70.73 kB / 0.5101 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2871, allocations: 12.12 kB / 0.5101 GB, free: 9.773 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.0001962/0.2873, allocations: 185 kB / 0.5103 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.2874, allocations: 25.53 kB / 0.5103 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/0.2875, allocations: 42.09 kB / 0.5103 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2875, allocations: 2.812 kB / 0.5103 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2875, allocations: 1.5 kB / 0.5103 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2875, allocations: 3.984 kB / 0.5104 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.2879, allocations: 335.7 kB / 0.5107 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2879, allocations: 7.938 kB / 0.5107 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.2882, allocations: 52.16 kB / 0.5107 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2882, allocations: 1.312 kB / 0.5107 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2883, allocations: 18.3 kB / 0.5107 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2883, allocations: 1.156 kB / 0.5107 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2883, allocations: 5 kB / 0.5108 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.2892, allocations: 0.7455 MB / 0.5115 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.2892, allocations: 105.9 kB / 0.5116 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.2893, allocations: 22.42 kB / 0.5116 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2895, allocations: 4.75 kB / 0.5116 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.2896, allocations: 22.73 kB / 0.5116 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2896, allocations: 6.25 kB / 0.5116 GB, free: 8.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.2898, allocations: 220.9 kB / 0.5118 GB, free: 8.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2898, allocations: 0 / 0.5118 GB, free: 8.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008219/0.2906, allocations: 263.1 kB / 0.5121 GB, free: 8.379 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.001394/0.292, allocations: 1.442 MB / 0.5135 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009042/0.293, allocations: 0.7309 MB / 0.5142 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.293, allocations: 1.531 kB / 0.5142 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.2933, allocations: 192.7 kB / 0.5144 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2938, allocations: 36.23 kB / 0.5144 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.2977, allocations: 4.534 MB / 0.5189 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.2979, allocations: 0.8067 MB / 0.5197 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.2981, allocations: 70.23 kB / 0.5197 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.2983, allocations: 99.41 kB / 0.5198 GB, free: 1.332 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2983, allocations: 8 kB / 0.5198 GB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.334, allocations: 10.08 MB / 0.5297 GB, free: 7.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/9.491, allocations: 15.81 kB / 0.5297 GB, free: 7.203 MB / 398.1 MB " [Timeout remaining time 650] (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/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 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.227550809970126] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.562937526032329 9.578120282 9.299776357 Calling exit ...