Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 213.9 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 46.94 MB / 360.9 MB, free: 4.246 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 0.4961 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3846, allocations: 66.04 MB / 0.5606 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003258/0.3879, allocations: 1.688 MB / 0.5623 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.3882, allocations: 79.61 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.3883, allocations: 7.938 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.906e-05/0.3883, allocations: 7.875 kB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.3884, allocations: 7.875 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3886, allocations: 35.97 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3887, allocations: 79.77 kB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3889, allocations: 51.36 kB / 0.5626 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.389, allocations: 31.86 kB / 0.5626 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.3891, allocations: 39.78 kB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3891, allocations: 8 kB / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.3891, allocations: 4 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3892, allocations: 19.92 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.3892, allocations: 35.75 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3894, allocations: 83.52 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3894, allocations: 0 / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3894, allocations: 7.938 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3894, allocations: 0 / 0.5628 GB, free: 2.254 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.0005728/0.39, allocations: 322.2 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.39, allocations: 12.03 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.3901, allocations: 34.75 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.3901, allocations: 16.84 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3904, allocations: 166.2 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3904, allocations: 8.562 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3904, allocations: 4.375 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.3907, allocations: 117 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3907, allocations: 0 / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3908, allocations: 4 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3908, allocations: 0 / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.391, allocations: 83.83 kB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.3917, allocations: 415.8 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3919, allocations: 82.47 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.392, allocations: 32.88 kB / 0.564 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.392, allocations: 0 / 0.564 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.392, allocations: 38.5 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.392, allocations: 0 / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004323/0.3925, allocations: 125.8 kB / 0.5642 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3925, allocations: 55.41 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3927, allocations: 128.9 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3927, allocations: 29.7 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.3928, allocations: 108.2 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3928, allocations: 23.88 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.3928, allocations: 33.64 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.393, allocations: 318.8 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3931, allocations: 27.98 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3932, allocations: 45.62 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3934, allocations: 73.67 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3934, allocations: 3.938 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002539/0.3937, allocations: 105.5 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3937, allocations: 4 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3937, allocations: 4 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3937, allocations: 3.938 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3939, allocations: 23.98 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3939, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.3939, allocations: 11.92 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3939, allocations: 4 kB / 0.5651 GB, free: 15.62 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.0001044/0.394, allocations: 125.8 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.3941, allocations: 7.953 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.3944, allocations: 106.8 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3944, allocations: 0 / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3944, allocations: 3.984 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3944, allocations: 0 / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3947, allocations: 172.6 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3947, allocations: 4 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3948, allocations: 27.92 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3948, allocations: 0 / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3948, allocations: 3.984 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3948, allocations: 0 / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3948, allocations: 0 / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3951, allocations: 199.5 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3951, allocations: 19.95 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3951, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.3952, allocations: 11.98 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3953, allocations: 7.984 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3953, allocations: 0 / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.3954, allocations: 103.2 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3954, allocations: 0 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3956, allocations: 12 kB / 0.5659 GB, free: 14.75 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.000687/0.3963, allocations: 0.7398 MB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.3966, allocations: 67.89 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3966, allocations: 64 / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3967, allocations: 39.97 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.397, allocations: 7.984 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.399, allocations: 1.516 MB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3993, allocations: 0.6963 MB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.3994, allocations: 8.422 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.3994, allocations: 27.44 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3994, allocations: 4 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4289, allocations: 2.12 MB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 11.98 kB / 0.571 GB, free: 9.508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Blocks.Exponentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable oneExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable oneExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable zeroExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable zeroExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable sqrtExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable sqrtExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.71398259900161]