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.0008131/0.0008131, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008193/0.0008193, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.901/0.901, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2242/0.2242, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 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 1.172e-06/1.172e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.458e-05, allocations: 5.234 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.1581/0.1581, allocations: 1.652 MB / 443.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003614/0.1585, allocations: 71.27 kB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1586, allocations: 8.609 kB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.1586, allocations: 15.95 kB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.1587, allocations: 8.531 kB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.1588, allocations: 35.12 kB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.1589, allocations: 78.55 kB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1591, allocations: 26.48 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.1591, allocations: 59.72 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.1592, allocations: 29.45 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.1592, allocations: 5.75 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1592, allocations: 8.688 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1593, allocations: 20.66 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1593, allocations: 19.56 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1594, allocations: 76.5 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1594, allocations: 0 / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1594, allocations: 0 / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1594, allocations: 1.75 kB / 444.3 MB, free: 43.18 MB / 410.7 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.0003444/0.1598, allocations: 324.4 kB / 444.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1598, allocations: 12.03 kB / 444.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.1598, allocations: 45.45 kB / 444.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1599, allocations: 14.59 kB / 444.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1601, allocations: 146.1 kB / 444.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1601, allocations: 7 kB / 444.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1601, allocations: 8.594 kB / 444.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1603, allocations: 125.8 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1603, allocations: 2.844 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1603, allocations: 3.625 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1603, allocations: 4.656 kB / 444.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1604, allocations: 68.73 kB / 445 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1608, allocations: 410.6 kB / 445.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1609, allocations: 81.59 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.1609, allocations: 32.34 kB / 445.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.161, allocations: 3.328 kB / 445.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.161, allocations: 37.5 kB / 445.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.161, allocations: 2.156 kB / 445.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002471/0.1612, allocations: 124.2 kB / 445.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.1612, allocations: 54.28 kB / 445.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.1613, allocations: 138.7 kB / 445.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.1613, allocations: 28.48 kB / 445.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1613, allocations: 102.8 kB / 446 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.1613, allocations: 35.62 kB / 446 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.1614, allocations: 18.78 kB / 446.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.965e-05/0.1614, allocations: 321.2 kB / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/0.1614, allocations: 27.58 kB / 446.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.1615, allocations: 45.17 kB / 446.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.1616, allocations: 68.02 kB / 446.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1616, allocations: 5.938 kB / 446.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.1617, allocations: 111.5 kB / 446.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1617, allocations: 5.469 kB / 446.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1617, allocations: 0 / 446.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1618, allocations: 2.594 kB / 446.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.1618, allocations: 23.62 kB / 446.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1618, allocations: 6.781 kB / 446.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.1619, allocations: 13.34 kB / 446.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1619, allocations: 3.234 kB / 446.7 MB, free: 41.49 MB / 410.7 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 4.373e-05/0.1619, allocations: 116.4 kB / 446.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1619, allocations: 10.73 kB / 446.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1621, allocations: 111.2 kB / 446.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1621, allocations: 0 / 446.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1621, allocations: 3.938 kB / 446.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1621, allocations: 4 kB / 446.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1622, allocations: 163.5 kB / 447.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1622, allocations: 5.062 kB / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.1623, allocations: 18.02 kB / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1623, allocations: 7.312 kB / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1623, allocations: 3.938 kB / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1623, allocations: 0 / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1623, allocations: 0 / 447.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1624, allocations: 196.8 kB / 447.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.1624, allocations: 17.02 kB / 447.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1624, allocations: 2.406 kB / 447.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1625, allocations: 10.17 kB / 447.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1625, allocations: 9.828 kB / 447.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1625, allocations: 2.625 kB / 447.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.1625, allocations: 103.6 kB / 447.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1625, allocations: 0 / 447.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.1627, allocations: 18.41 kB / 447.5 MB, free: 40.93 MB / 410.7 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.0002481/0.1629, allocations: 0.7263 MB / 448.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1631, allocations: 68.06 kB / 448.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1631, allocations: 2.719 kB / 448.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.1631, allocations: 37.02 kB / 448.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1633, allocations: 16.31 kB / 448.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.1643, allocations: 1.511 MB / 449.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.1643, allocations: 91.94 kB / 449.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.1643, allocations: 7.188 kB / 449.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1644, allocations: 30.33 kB / 449.9 MB, free: 38.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1644, allocations: 0 / 449.9 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.179, allocations: 2.67 MB / 452.6 MB, free: 38.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.866, allocations: 0 / 452.6 MB, free: 38.04 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins/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: 8.759254164993763]