Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001545/0.001545, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 79.88 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3641, allocations: 66.08 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003107/0.3672, allocations: 1.645 MB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002792/0.3675, allocations: 79.62 kB / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.3676, allocations: 11.94 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.3676, allocations: 11.86 kB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.3677, allocations: 7.875 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.3678, allocations: 31.97 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.368, allocations: 83.77 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3681, allocations: 39.38 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.3682, allocations: 31.86 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.3683, allocations: 31.84 kB / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3683, allocations: 8 kB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.3684, allocations: 12 kB / 0.5626 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3684, allocations: 15.92 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.3684, allocations: 31.8 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3686, allocations: 87.47 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3686, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3686, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3686, allocations: 0 / 0.5628 GB, free: 1.922 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.0005467/0.3691, allocations: 322.2 kB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3692, allocations: 8.031 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.3692, allocations: 42.73 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.3692, allocations: 16.84 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3695, allocations: 150.3 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3695, allocations: 8.562 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3696, allocations: 12.38 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.3698, allocations: 119.5 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3698, allocations: 0 / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3699, allocations: 4 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3699, allocations: 8 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3701, allocations: 79.83 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3707, allocations: 399.8 kB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3709, allocations: 78.47 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.371, allocations: 32.81 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3711, allocations: 4 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3711, allocations: 38.55 kB / 0.564 GB, free: 492 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3711, allocations: 4 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004596/0.3716, allocations: 125.7 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3716, allocations: 51.41 kB / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3717, allocations: 128.6 kB / 0.5643 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3718, allocations: 25.7 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.3718, allocations: 108.2 kB / 0.5644 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.3719, allocations: 35.73 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.372, allocations: 25.72 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3721, allocations: 314.8 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3722, allocations: 27.98 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3723, allocations: 41.69 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3725, allocations: 73.92 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3725, allocations: 3.938 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002752/0.3728, allocations: 117.6 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3728, allocations: 8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3728, allocations: 0 / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3729, allocations: 0 / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.373, allocations: 19.98 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.373, allocations: 0 / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.3731, allocations: 19.92 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3731, allocations: 8.031 kB / 0.5651 GB, free: 15.29 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.0001048/0.3732, allocations: 117.8 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3732, allocations: 7.953 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3735, allocations: 114.3 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3735, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3735, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3735, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3738, allocations: 172.6 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3738, allocations: 0 / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.3738, allocations: 19.98 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3738, allocations: 0 / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3739, allocations: 0 / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3739, allocations: 4 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3739, allocations: 192 / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.3742, allocations: 203.3 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.3742, allocations: 19.83 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3742, allocations: 4 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.3743, allocations: 11.98 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.3743, allocations: 3.984 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3744, allocations: 8 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.3744, allocations: 96.11 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 0 / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3746, allocations: 19.94 kB / 0.5659 GB, free: 14.43 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.0006482/0.3753, allocations: 0.724 MB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.3756, allocations: 71.94 kB / 0.5666 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3756, allocations: 0 / 0.5666 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3757, allocations: 39.91 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.376, allocations: 8 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3779, allocations: 1.505 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.471e-05/0.378, allocations: 85.31 kB / 0.5682 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.378, allocations: 12.42 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.3781, allocations: 23.44 kB / 0.5683 GB, free: 11.83 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3781, allocations: 0 / 0.5683 GB, free: 11.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4075, allocations: 2.539 MB / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 4 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable oneExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable oneExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable zeroExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable zeroExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable sqrtExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable sqrtExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.607485291082412]