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.001768/0.001768, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002127/0.002127, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.2344/0.2344, allocations: 46.92 MB / 361.6 MB, free: 4.223 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.002395/0.002395, allocations: 75.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3271, allocations: 66.08 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002997/0.3301, allocations: 1.695 MB / 0.5632 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.3303, allocations: 67.7 kB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.3304, allocations: 11.94 kB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.3304, allocations: 11.86 kB / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.3305, allocations: 11.86 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3306, allocations: 31.97 kB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3308, allocations: 79.77 kB / 0.5634 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3309, allocations: 43.53 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.331, allocations: 31.86 kB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.3311, allocations: 43.77 kB / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3311, allocations: 4 kB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3311, allocations: 12 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.3311, allocations: 19.92 kB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3312, allocations: 39.73 kB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3313, allocations: 79.53 kB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3313, allocations: 0 / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3313, allocations: 0 / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3313, allocations: 0 / 0.5636 GB, free: 2.152 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.0005211/0.3318, allocations: 322.2 kB / 0.5639 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3319, allocations: 8.031 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3319, allocations: 50.67 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.332, allocations: 12.84 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3322, allocations: 157.9 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3322, allocations: 4.562 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3322, allocations: 12.38 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3325, allocations: 123.5 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3325, allocations: 0 / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3325, allocations: 0 / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3325, allocations: 4 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3328, allocations: 79.83 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.3334, allocations: 423.8 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3336, allocations: 74.48 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3337, allocations: 32.86 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3337, allocations: 0 / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3338, allocations: 34.56 kB / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3338, allocations: 8 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004107/0.3342, allocations: 133.8 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3342, allocations: 51.41 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3343, allocations: 130 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3343, allocations: 25.7 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3344, allocations: 104.2 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3344, allocations: 31.8 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3345, allocations: 25.72 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3346, allocations: 314.8 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3347, allocations: 31.97 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3349, allocations: 41.62 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3351, allocations: 73.69 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3351, allocations: 3.938 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002552/0.3353, allocations: 109.8 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3353, allocations: 10.48 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3353, allocations: 0 / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3354, allocations: 4 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3355, allocations: 20.02 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3355, allocations: 4 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.3356, allocations: 11.94 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3356, allocations: 7.938 kB / 0.566 GB, free: 15.51 MB / 414.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 0.000102/0.3357, allocations: 121.8 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3357, allocations: 7.891 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.336, allocations: 110.3 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.336, allocations: 8 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.336, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.336, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3362, allocations: 172.6 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3362, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.3363, allocations: 15.98 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3363, allocations: 4 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3363, allocations: 4 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3363, allocations: 0 / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3363, allocations: 3.938 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3366, allocations: 207.4 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3367, allocations: 11.95 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3367, allocations: 0 / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.3368, allocations: 11.98 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3368, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3368, allocations: 12.17 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.3369, allocations: 107.2 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3369, allocations: 3.938 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3371, allocations: 12 kB / 0.5668 GB, free: 14.63 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.0006387/0.3377, allocations: 0.724 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.338, allocations: 71.89 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.338, allocations: 0 / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3381, allocations: 39.95 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3384, allocations: 4 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3402, allocations: 1.508 MB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3405, allocations: 0.7002 MB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.3406, allocations: 8.438 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3406, allocations: 27.42 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3406, allocations: 0 / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3641, allocations: 2.025 MB / 0.5718 GB, free: 9.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.395, allocations: 11.98 kB / 0.5718 GB, free: 9.445 MB / 414.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 11.419377589132637] Failed to read output from testmodel.py, exit status != 0: ['time', 'evenExponent.y', 'oddExponent.y', 'oneExponent.y', 'zeroExponent.y', 'nonInteger.y', 'sqrtExponent.y', 'inverse.y'] 8.464424030855298 8.480142846 8.145618583 Calling exit ...