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.001346/0.001346, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.001527/0.001527, allocations: 208.8 kB / 23.74 MB, free: 4.543 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2433/0.2433, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 179] 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.002324/0.002324, allocations: 83.86 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4091, allocations: 66.08 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003215/0.4123, allocations: 1.698 MB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.4126, allocations: 71.69 kB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.4126, allocations: 7.938 kB / 0.5625 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.4127, allocations: 7.875 kB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.4127, allocations: 11.88 kB / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.4129, allocations: 35.95 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.413, allocations: 79.77 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4132, allocations: 47.38 kB / 0.5626 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.4133, allocations: 31.86 kB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.4134, allocations: 39.78 kB / 0.5627 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.4134, allocations: 4 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.4134, allocations: 8 kB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.4134, allocations: 19.92 kB / 0.5627 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.4135, allocations: 39.73 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4136, allocations: 79.53 kB / 0.5628 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4136, allocations: 4 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4136, allocations: 3.938 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4136, allocations: 0 / 0.5629 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.0006183/0.4143, allocations: 322.2 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.4143, allocations: 8.031 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.4144, allocations: 38.75 kB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.4144, allocations: 12.84 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.4148, allocations: 166.2 kB / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.4148, allocations: 4.562 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.4149, allocations: 12.38 kB / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.4152, allocations: 115.5 kB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4152, allocations: 0 / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4152, allocations: 0 / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4152, allocations: 4 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.4155, allocations: 83.83 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.4162, allocations: 415.8 kB / 0.564 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4165, allocations: 82.47 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4166, allocations: 28.88 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4166, allocations: 4 kB / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4167, allocations: 38.48 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.4167, allocations: 0 / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004867/0.4172, allocations: 129.8 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.4172, allocations: 51.41 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.4174, allocations: 130 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4174, allocations: 29.7 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4175, allocations: 104.2 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.4175, allocations: 27.8 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.4176, allocations: 21.72 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4178, allocations: 322.8 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4179, allocations: 27.98 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.418, allocations: 45.7 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.4182, allocations: 73.66 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4182, allocations: 3.938 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000267/0.4185, allocations: 109.5 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4185, allocations: 6.188 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4185, allocations: 0 / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4185, allocations: 7.938 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4187, allocations: 15.98 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4187, allocations: 4 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.4188, allocations: 15.92 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4188, allocations: 4.031 kB / 0.5652 GB, free: 15.46 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.0001221/0.4189, allocations: 123 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4189, allocations: 7.953 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.4192, allocations: 110.3 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4192, allocations: 4 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4192, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4193, allocations: 4 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.4195, allocations: 180.6 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4195, allocations: 0 / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.4196, allocations: 23.92 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4196, allocations: 4 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4196, allocations: 0 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4196, allocations: 480 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4196, allocations: 0 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.4199, allocations: 203.4 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.4199, allocations: 11.94 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.42, allocations: 4 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.42, allocations: 8 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.4201, allocations: 3.984 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4201, allocations: 4.188 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.604e-05/0.4202, allocations: 105.7 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4202, allocations: 3.938 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.4204, allocations: 12 kB / 0.566 GB, free: 14.59 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.0006408/0.421, allocations: 0.7318 MB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4213, allocations: 71.95 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4213, allocations: 0 / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4214, allocations: 31.97 kB / 0.5668 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.0002678/0.4217, allocations: 8 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4236, allocations: 1.512 MB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.424, allocations: 0.6963 MB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.4241, allocations: 12.42 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.4241, allocations: 27.42 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4241, allocations: 0 / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4515, allocations: 2.131 MB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.23, allocations: 17.44 kB / 0.5711 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 649] (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.475179782995838]