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.001656/0.001656, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00205/0.00205, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.555/1.555, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2437/0.2437, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.003079/0.003079, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4171, allocations: 66.08 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003743/0.4209, allocations: 1.696 MB / 0.5632 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.4212, allocations: 71.7 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4213, allocations: 11.88 kB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.4214, allocations: 11.86 kB / 0.5632 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.4214, allocations: 15.86 kB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.4216, allocations: 27.97 kB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.4218, allocations: 83.77 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.422, allocations: 35.53 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4221, allocations: 47.84 kB / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.4222, allocations: 35.83 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.4222, allocations: 8 kB / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.4222, allocations: 8 kB / 0.5635 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.4223, allocations: 11.94 kB / 0.5635 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.4223, allocations: 39.73 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.4225, allocations: 87.47 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4225, allocations: 0 / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4225, allocations: 0 / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4225, allocations: 0 / 0.5636 GB, free: 2.141 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.0007538/0.4233, allocations: 322.2 kB / 0.5639 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.4234, allocations: 8.031 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.4234, allocations: 46.73 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.4235, allocations: 12.84 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.4238, allocations: 146.3 kB / 0.5641 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.4239, allocations: 12.55 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.4239, allocations: 8.375 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.4243, allocations: 123.5 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4243, allocations: 0 / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4243, allocations: 4 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.4243, allocations: 4 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.4246, allocations: 79.83 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.4253, allocations: 415.8 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.4255, allocations: 74.52 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4256, allocations: 32.83 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.4257, allocations: 8 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4257, allocations: 30.56 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.4257, allocations: 0 / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004637/0.4262, allocations: 141.7 kB / 0.565 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.4262, allocations: 51.41 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4264, allocations: 134.1 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4264, allocations: 29.7 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4265, allocations: 108.2 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4265, allocations: 23.81 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.4266, allocations: 21.7 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.4268, allocations: 318.8 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4269, allocations: 27.91 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.427, allocations: 49.69 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.4273, allocations: 69.62 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4273, allocations: 3.938 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002682/0.4275, allocations: 113.5 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4276, allocations: 10.19 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.4276, allocations: 4.031 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4276, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.4277, allocations: 19.98 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4277, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.4278, allocations: 11.94 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.4278, allocations: 4 kB / 0.566 GB, free: 15.5 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.0001104/0.4279, allocations: 121.8 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.4279, allocations: 7.953 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4283, allocations: 114.3 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4283, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4283, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4283, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.4285, allocations: 176.6 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4285, allocations: 0 / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.4286, allocations: 19.98 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4286, allocations: 0 / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4286, allocations: 4 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4286, allocations: 4 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4286, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.429, allocations: 207.3 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.429, allocations: 11.95 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.429, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.4291, allocations: 12.17 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4291, allocations: 11.98 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4291, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.4292, allocations: 103.2 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4292, allocations: 0 / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.4295, 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.0006492/0.4301, allocations: 0.7324 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.4304, allocations: 60.03 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/0.4304, allocations: 7.938 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4305, allocations: 44.03 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.0002694/0.4308, allocations: 8 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4328, allocations: 1.508 MB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4332, allocations: 0.7041 MB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.4333, allocations: 8.422 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.4334, allocations: 23.44 kB / 0.5698 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4334, allocations: 0 / 0.5698 GB, free: 11.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.4599, allocations: 2.027 MB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.495, allocations: 0 / 0.5718 GB, free: 9.445 MB / 414.1 MB " [Timeout remaining time 651] (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 -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --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: 11.507700758986175] 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.566403891891241 8.594041523 8.166293954 Calling exit ...