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.001765/0.001765, 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 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.002272/0.002272, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2303/0.2303, allocations: 46.97 MB / 360.9 MB, free: 4.008 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.002085/0.002085, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002955/0.3513, allocations: 1.652 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.3516, allocations: 75.69 kB / 0.5623 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.3516, allocations: 7.938 kB / 0.5623 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.3517, allocations: 11.86 kB / 0.5623 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.3517, allocations: 7.875 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3519, allocations: 35.97 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.352, allocations: 75.77 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3521, allocations: 39.39 kB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.3522, allocations: 39.83 kB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.3523, allocations: 39.78 kB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3523, allocations: 8 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.3523, allocations: 8 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3524, allocations: 11.94 kB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3524, allocations: 31.8 kB / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.3525, allocations: 83.53 kB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3525, allocations: 0 / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3525, allocations: 0 / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3525, allocations: 0 / 0.5627 GB, free: 2.09 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.0005168/0.3531, allocations: 322.2 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3531, allocations: 12.03 kB / 0.563 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3531, allocations: 42.73 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3532, allocations: 12.84 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3534, allocations: 150.3 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3534, allocations: 4.562 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3535, allocations: 8.375 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.3537, allocations: 125 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3538, allocations: 7.938 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3538, allocations: 0 / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3538, allocations: 4 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.354, allocations: 79.83 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.3546, allocations: 403.8 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3549, allocations: 82.41 kB / 0.5639 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.355, allocations: 36.88 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.355, allocations: 0 / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.355, allocations: 34.55 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.355, allocations: 0 / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004226/0.3554, allocations: 133.8 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3555, allocations: 51.41 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3556, allocations: 126.1 kB / 0.5642 GB, free: 324 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3556, allocations: 29.7 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3557, allocations: 112.2 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3557, allocations: 27.8 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3558, allocations: 21.72 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3559, allocations: 318.8 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.356, allocations: 23.98 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3561, allocations: 49.62 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3563, allocations: 73.67 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3563, allocations: 3.938 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00026/0.3566, allocations: 105.5 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3566, allocations: 8 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3566, allocations: 0 / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3566, allocations: 0 / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3567, allocations: 23.98 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3567, allocations: 0 / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.3568, allocations: 15.95 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3568, allocations: 4 kB / 0.565 GB, free: 15.47 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.66e-05/0.3569, allocations: 117.8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.357, allocations: 7.953 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3573, allocations: 118.3 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3573, allocations: 0 / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3573, allocations: 0 / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3573, allocations: 3.938 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3575, allocations: 164.6 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3575, allocations: 8 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-05/0.3576, allocations: 15.98 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3576, allocations: 3.984 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3576, allocations: 4 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3576, allocations: 4.188 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3576, allocations: 0 / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.3579, allocations: 211.7 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.3579, allocations: 11.89 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3579, allocations: 8 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.358, allocations: 7.984 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.3581, allocations: 7.984 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.3581, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.3582, allocations: 101.9 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3584, allocations: 12 kB / 0.5658 GB, free: 14.6 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.0006552/0.359, allocations: 0.7358 MB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3593, allocations: 71.88 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3593, allocations: 0 / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3594, allocations: 31.97 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3597, allocations: 8 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3616, allocations: 1.514 MB / 0.5681 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.3617, allocations: 85.31 kB / 0.5682 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.3618, allocations: 12.42 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.3618, allocations: 23.44 kB / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3618, allocations: 0 / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3899, allocations: 2.54 MB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 0 / 0.5707 GB, free: 9.578 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.744499774184078]