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.001328/0.001328, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001457/0.001457, allocations: 215 kB / 21.45 MB, free: 1.617 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.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.3097/0.3097, allocations: 46.92 MB / 357.8 MB, free: 10.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.84 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1539, allocations: 65.98 MB / 0.5561 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003602/0.1575, allocations: 1.696 MB / 0.5577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.1579, allocations: 73.36 kB / 0.5578 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.158, allocations: 7.938 kB / 0.5578 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.802e-05/0.1581, allocations: 7.875 kB / 0.5578 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.1582, allocations: 11.86 kB / 0.5578 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1584, allocations: 35.89 kB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1586, allocations: 79.83 kB / 0.5579 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1588, allocations: 29.38 kB / 0.5579 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1589, allocations: 39.86 kB / 0.558 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.159, allocations: 35.78 kB / 0.558 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.1591, allocations: 11.98 kB / 0.558 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.1591, allocations: 8 kB / 0.558 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.1591, allocations: 19.86 kB / 0.5581 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.1592, allocations: 43.73 kB / 0.5581 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1594, allocations: 75.59 kB / 0.5582 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1594, allocations: 0 / 0.5582 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1594, allocations: 7.938 kB / 0.5582 GB, free: 3.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1594, allocations: 0 / 0.5582 GB, free: 3.676 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.0007882/0.1602, allocations: 395.3 kB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1603, allocations: 12.03 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.362e-05/0.1603, allocations: 384 / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.1604, allocations: 46.73 kB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1604, allocations: 12.84 kB / 0.5586 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1608, allocations: 212.1 kB / 0.5588 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.1609, allocations: 12.56 kB / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1609, allocations: 8.125 kB / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1612, allocations: 115.3 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1612, allocations: 0 / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1613, allocations: 15.88 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1613, allocations: 0 / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.1616, allocations: 75.89 kB / 0.559 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.1624, allocations: 448.7 kB / 0.5595 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1627, allocations: 74.55 kB / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1628, allocations: 44.8 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1628, allocations: 3.984 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1629, allocations: 30.56 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.1629, allocations: 0 / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000491/0.1634, allocations: 125.8 kB / 0.5597 GB, free: 1.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1634, allocations: 59.41 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1636, allocations: 134 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1636, allocations: 25.7 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.1637, allocations: 104.3 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1637, allocations: 31.73 kB / 0.5601 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1637, allocations: 17.72 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1639, allocations: 326.8 kB / 0.5604 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.164, allocations: 23.92 kB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1641, allocations: 53.69 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1644, allocations: 69.67 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1644, allocations: 0 / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003124/0.1647, allocations: 117.5 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1647, allocations: 4 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1647, allocations: 3.938 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1647, allocations: 0 / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1649, allocations: 19.98 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1649, allocations: 0 / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.1649, allocations: 15.92 kB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1649, allocations: 0 / 0.5607 GB, free: 0.832 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.0001106/0.1651, allocations: 127.9 kB / 0.5608 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1651, allocations: 11.95 kB / 0.5608 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.1654, allocations: 114.3 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1655, allocations: 0 / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1655, allocations: 0 / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1655, allocations: 0 / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1658, allocations: 201.5 kB / 0.5611 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1658, allocations: 4.188 kB / 0.5611 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1659, allocations: 19.92 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1659, allocations: 7.938 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1659, allocations: 0 / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1659, allocations: 0 / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1659, allocations: 4 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.1663, allocations: 199.4 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.1664, allocations: 85.06 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1664, allocations: 8 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.1665, allocations: 4 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1666, allocations: 7.984 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1666, allocations: 0 / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1667, allocations: 105.4 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1667, allocations: 0 / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000272/0.167, allocations: 15.88 kB / 0.5616 GB, free: 15.84 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.000894/0.1679, allocations: 0.7285 MB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1682, allocations: 71.95 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1682, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1683, allocations: 44.03 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1686, allocations: 4 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.1708, allocations: 1.515 MB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.1713, allocations: 0.6963 MB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.1713, allocations: 12.42 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.1714, allocations: 27.42 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1714, allocations: 4 kB / 0.5646 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1898, allocations: 2.022 MB / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.471, allocations: 4.062 kB / 0.5666 GB, free: 10.66 MB / 430.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.83342174201971]