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.001371/0.001371, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001869/0.001869, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.534/1.534, allocations: 230.4 MB / 254 MB, free: 15.17 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.2419/0.2419, allocations: 46.92 MB / 357 MB, free: 10.2 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.003355/0.003355, allocations: 79.89 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1585, allocations: 66.05 MB / 0.5555 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003566/0.162, allocations: 1.688 MB / 0.5571 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003293/0.1624, allocations: 81.34 kB / 0.5572 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1625, allocations: 7.938 kB / 0.5572 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.1625, allocations: 7.875 kB / 0.5572 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.1626, allocations: 7.875 kB / 0.5572 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1627, allocations: 31.95 kB / 0.5572 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1629, allocations: 79.77 kB / 0.5573 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.163, allocations: 33.38 kB / 0.5573 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1631, allocations: 35.86 kB / 0.5574 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.1632, allocations: 43.77 kB / 0.5574 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1632, allocations: 8 kB / 0.5574 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.1633, allocations: 4 kB / 0.5574 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1633, allocations: 19.92 kB / 0.5575 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1633, allocations: 39.73 kB / 0.5575 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1635, allocations: 79.53 kB / 0.5576 GB, free: 3.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1635, allocations: 7.938 kB / 0.5576 GB, free: 3.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1635, allocations: 0 / 0.5576 GB, free: 3.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1635, allocations: 0 / 0.5576 GB, free: 3.355 MB / 414.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.0006378/0.1642, allocations: 402 kB / 0.558 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1642, allocations: 12.03 kB / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.1643, allocations: 38.73 kB / 0.558 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1643, allocations: 20.84 kB / 0.558 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1646, allocations: 208.1 kB / 0.5582 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1647, allocations: 8.562 kB / 0.5582 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.1647, allocations: 4.375 kB / 0.5582 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.165, allocations: 119.5 kB / 0.5584 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.165, allocations: 4 kB / 0.5584 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.165, allocations: 7.922 kB / 0.5584 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.165, allocations: 0 / 0.5584 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.1653, allocations: 79.83 kB / 0.5584 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.166, allocations: 452.8 kB / 0.5589 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1662, allocations: 74.48 kB / 0.5589 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1663, allocations: 32.88 kB / 0.559 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1663, allocations: 0 / 0.559 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1663, allocations: 38.55 kB / 0.559 GB, free: 1.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.1663, allocations: 0 / 0.559 GB, free: 1.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004499/0.1668, allocations: 134 kB / 0.5591 GB, free: 1.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1668, allocations: 55.41 kB / 0.5592 GB, free: 1.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.167, allocations: 132.2 kB / 0.5593 GB, free: 1.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.167, allocations: 29.7 kB / 0.5593 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.1671, allocations: 108.3 kB / 0.5594 GB, free: 1.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1671, allocations: 27.73 kB / 0.5595 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1671, allocations: 21.72 kB / 0.5595 GB, free: 1.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1673, allocations: 322.8 kB / 0.5598 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1674, allocations: 23.98 kB / 0.5598 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1675, allocations: 45.62 kB / 0.5599 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1677, allocations: 73.67 kB / 0.5599 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.1677, allocations: 7.938 kB / 0.5599 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002781/0.168, allocations: 101.5 kB / 0.56 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.168, allocations: 4 kB / 0.56 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.168, allocations: 3.938 kB / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1681, allocations: 4.031 kB / 0.5601 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1682, allocations: 27.98 kB / 0.5601 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1682, allocations: 4 kB / 0.5601 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.1683, allocations: 11.92 kB / 0.5601 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1683, allocations: 0 / 0.5601 GB, free: 0.5156 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.583e-05/0.1684, allocations: 117.8 kB / 0.5602 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1684, allocations: 11.89 kB / 0.5602 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.1687, allocations: 118.3 kB / 0.5603 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1687, allocations: 0 / 0.5603 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1687, allocations: 4 kB / 0.5603 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1687, allocations: 0 / 0.5603 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.169, allocations: 201.5 kB / 0.5605 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.169, allocations: 192 / 0.5605 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1691, allocations: 23.97 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1691, allocations: 3.938 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1691, allocations: 4 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1691, allocations: 4 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1691, allocations: 3.938 kB / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1694, allocations: 199.4 kB / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.1695, allocations: 85.05 kB / 0.5608 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1695, allocations: 0 / 0.5608 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.1696, allocations: 8 kB / 0.5608 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1696, allocations: 11.98 kB / 0.5609 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1696, allocations: 4 kB / 0.5609 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.1697, allocations: 100.8 kB / 0.561 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1697, allocations: 0 / 0.561 GB, free: 15.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1699, allocations: 15.94 kB / 0.561 GB, free: 15.52 MB / 430.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.0006496/0.1706, allocations: 0.7279 MB / 0.5617 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1709, allocations: 68.28 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1709, allocations: 0 / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.171, allocations: 35.97 kB / 0.5618 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1712, allocations: 4 kB / 0.5618 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1732, allocations: 1.52 MB / 0.5633 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1735, allocations: 0.6963 MB / 0.564 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.1735, allocations: 12.42 kB / 0.564 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.1736, allocations: 27.42 kB / 0.564 GB, free: 12.29 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1736, allocations: 0 / 0.564 GB, free: 12.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1987, allocations: 1.98 MB / 0.5659 GB, free: 10.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.065, allocations: 9.891 kB / 0.5659 GB, free: 10.36 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.409689654945396]