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.001204/0.001204, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00137/0.00137, allocations: 205.5 kB / 23.73 MB, free: 4.379 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.361/1.361, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2186/0.2186, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.001909/0.001909, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3228, allocations: 66.03 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00288/0.3257, allocations: 1.649 MB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.326, allocations: 79.69 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.3261, allocations: 7.938 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.3261, allocations: 11.86 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.3261, allocations: 7.875 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3263, allocations: 31.97 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3264, allocations: 83.77 kB / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3266, allocations: 39.38 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3267, allocations: 39.84 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.3268, allocations: 39.78 kB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.3268, allocations: 12 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.3268, allocations: 8 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.3268, allocations: 11.94 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.3269, allocations: 31.8 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.327, allocations: 87.52 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.327, allocations: 3.938 kB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.327, allocations: 0 / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.327, allocations: 0 / 0.5627 GB, free: 2.051 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.000508/0.3275, allocations: 314.2 kB / 0.563 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3276, allocations: 8.031 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.3276, allocations: 50.73 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.3277, allocations: 12.84 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3279, allocations: 150.3 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3279, allocations: 8.562 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3279, allocations: 12.38 kB / 0.5632 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3282, allocations: 118.3 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3282, allocations: 0 / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3282, allocations: 8 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3282, allocations: 4 kB / 0.5633 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.3285, allocations: 79.83 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.329, allocations: 403.8 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3292, allocations: 74.48 kB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3293, allocations: 32.88 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3294, allocations: 3.984 kB / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3294, allocations: 42.5 kB / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.3294, allocations: 0 / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004081/0.3298, allocations: 121.7 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3298, allocations: 51.41 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.33, allocations: 133.1 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.33, allocations: 25.7 kB / 0.5642 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.3301, allocations: 116.2 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3301, allocations: 23.8 kB / 0.5644 GB, free: 116 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.3301, allocations: 21.72 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3303, allocations: 322.8 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3304, allocations: 23.98 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3305, allocations: 45.7 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3307, allocations: 77.66 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3307, allocations: 3.938 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002499/0.331, allocations: 109.5 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.331, allocations: 4 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.331, allocations: 3.938 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.331, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3311, allocations: 19.98 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3311, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.3312, allocations: 27.95 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3312, allocations: 400 / 0.565 GB, free: 15.43 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 9.618e-05/0.3313, allocations: 121.7 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3313, allocations: 7.953 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.3316, allocations: 114.3 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3316, allocations: 0 / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3316, allocations: 4 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3316, allocations: 0 / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3318, allocations: 168.6 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3318, allocations: 4 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.3319, allocations: 15.98 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3319, allocations: 0 / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3319, allocations: 4 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3319, allocations: 7.922 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3319, allocations: 0 / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3322, allocations: 199.4 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3322, allocations: 15.89 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3323, allocations: 8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.3323, allocations: 8.172 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3324, allocations: 3.984 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3324, allocations: 7.938 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.3325, allocations: 99.27 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3325, allocations: 0 / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3327, allocations: 16 kB / 0.5658 GB, free: 14.57 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.0006073/0.3333, allocations: 0.7279 MB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.3335, allocations: 71.89 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3335, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3336, allocations: 35.97 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3339, allocations: 8 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3357, allocations: 1.51 MB / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.3358, allocations: 81.33 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.3358, allocations: 12.42 kB / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.3359, allocations: 23.44 kB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3359, allocations: 0 / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.3628, allocations: 2.582 MB / 0.5707 GB, free: 9.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.86, allocations: 15.84 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.688673322991235]