Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 218.4 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 230.2 MB / 256.1 MB, free: 8.762 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1992/0.1992, allocations: 46.9 MB / 359.3 MB, free: 4.965 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 83.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2675, allocations: 65.98 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002657/0.2701, allocations: 1.696 MB / 0.5601 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.2703, allocations: 67.7 kB / 0.5601 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.2704, allocations: 4 kB / 0.5601 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.2704, allocations: 19.8 kB / 0.5602 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.2705, allocations: 11.86 kB / 0.5602 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2706, allocations: 35.97 kB / 0.5602 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2707, allocations: 75.83 kB / 0.5603 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2709, allocations: 39.2 kB / 0.5603 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.271, allocations: 39.78 kB / 0.5603 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.271, allocations: 43.77 kB / 0.5604 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2711, allocations: 8 kB / 0.5604 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.2711, allocations: 4 kB / 0.5604 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2711, allocations: 19.92 kB / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2711, allocations: 39.75 kB / 0.5605 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2713, allocations: 79.58 kB / 0.5605 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2713, allocations: 0 / 0.5605 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2713, allocations: 0 / 0.5605 GB, free: 3.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2713, allocations: 3.938 kB / 0.5605 GB, free: 3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005148/0.2718, allocations: 399.3 kB / 0.5609 GB, free: 2.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2718, allocations: 8.031 kB / 0.5609 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.2719, allocations: 42.69 kB / 0.561 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2719, allocations: 16.78 kB / 0.561 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2721, allocations: 216.2 kB / 0.5612 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2722, allocations: 8.562 kB / 0.5612 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2722, allocations: 8.375 kB / 0.5612 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2724, allocations: 115.4 kB / 0.5613 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2724, allocations: 0 / 0.5613 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2724, allocations: 12 kB / 0.5613 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2725, allocations: 0 / 0.5613 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.2727, allocations: 75.89 kB / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.2732, allocations: 444.8 kB / 0.5618 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.2734, allocations: 82.42 kB / 0.5619 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2735, allocations: 36.86 kB / 0.5619 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2736, allocations: 0 / 0.5619 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2736, allocations: 30.56 kB / 0.562 GB, free: 1.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.2736, allocations: 0 / 0.562 GB, free: 1.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004026/0.274, allocations: 133.8 kB / 0.5621 GB, free: 1.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.274, allocations: 59.34 kB / 0.5621 GB, free: 1.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2741, allocations: 137.1 kB / 0.5623 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2742, allocations: 25.7 kB / 0.5623 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.2742, allocations: 104.3 kB / 0.5624 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2742, allocations: 27.75 kB / 0.5624 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.2743, allocations: 25.7 kB / 0.5625 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2744, allocations: 318.8 kB / 0.5628 GB, free: 496 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2745, allocations: 27.97 kB / 0.5628 GB, free: 468 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.2746, allocations: 41.69 kB / 0.5628 GB, free: 420 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.2748, allocations: 73.62 kB / 0.5629 GB, free: 340 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2748, allocations: 3.938 kB / 0.5629 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002547/0.2751, allocations: 109.6 kB / 0.563 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2751, allocations: 4 kB / 0.563 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2751, allocations: 0 / 0.563 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2751, allocations: 0 / 0.563 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2752, allocations: 23.92 kB / 0.563 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2752, allocations: 192 / 0.563 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.2753, allocations: 19.95 kB / 0.563 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2753, allocations: 7.938 kB / 0.5631 GB, free: 164 kB / 398.1 MB 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 (9): * Single equations (assignments): 9 * 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 prepare postOptimizeDAE: time 8.525e-05/0.2754, allocations: 121.7 kB / 0.5632 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.2754, allocations: 7.953 kB / 0.5632 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.2757, allocations: 114.3 kB / 0.5633 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2757, allocations: 0 / 0.5633 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2757, allocations: 4 kB / 0.5633 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2757, allocations: 0 / 0.5633 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2759, allocations: 201.5 kB / 0.5635 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2759, allocations: 4 kB / 0.5635 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.276, allocations: 15.98 kB / 0.5635 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.276, allocations: 4 kB / 0.5635 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.276, allocations: 0 / 0.5635 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.276, allocations: 0 / 0.5635 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.276, allocations: 7.984 kB / 0.5635 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2763, allocations: 203.9 kB / 0.5637 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.2763, allocations: 89 kB / 0.5638 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2764, allocations: 0 / 0.5638 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.2764, allocations: 7.984 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2765, allocations: 11.98 kB / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2765, allocations: 0 / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.2765, allocations: 103.2 kB / 0.5639 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2765, allocations: 4 kB / 0.5639 GB, free: 15.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.2768, allocations: 12 kB / 0.5639 GB, free: 15.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.000562/0.2773, allocations: 0.7281 MB / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.2776, allocations: 67.89 kB / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2776, allocations: 0 / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2777, allocations: 43.91 kB / 0.5647 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2779, allocations: 4 kB / 0.5647 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2796, allocations: 1.512 MB / 0.5662 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2799, allocations: 0.7001 MB / 0.5669 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2799, allocations: 12.42 kB / 0.5669 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.28, allocations: 23.44 kB / 0.5669 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.28, allocations: 0 / 0.5669 GB, free: 11.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.301, allocations: 1.972 MB / 0.5689 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.261, allocations: 10.41 kB / 0.5689 GB, free: 10.03 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.696837010997115]