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.001105/0.001105, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003903/0.003903, allocations: 158 kB / 24.69 MB, free: 9.422 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.8514/0.8514, allocations: 177.1 MB / 205 MB, free: 5.715 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.2657/0.2657, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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: translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.959e-05, allocations: 2.281 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.1767/0.1768, allocations: 1.653 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000243/0.177, allocations: 82.06 kB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1771, allocations: 6.562 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.1771, allocations: 11.2 kB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.1772, allocations: 6.562 kB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.1773, allocations: 32.66 kB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.1774, allocations: 81.42 kB / 445.3 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1775, allocations: 31.34 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.1776, allocations: 50.39 kB / 445.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.1777, allocations: 24.89 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1777, allocations: 6.031 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1777, allocations: 8.781 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.1777, allocations: 17.78 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1777, allocations: 24.16 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.1778, allocations: 85.25 kB / 445.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1778, allocations: 0.5625 kB / 445.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1778, allocations: 0.75 kB / 445.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1778, allocations: 0 / 445.5 MB, free: 43.62 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.0003407/0.1782, allocations: 326.5 kB / 445.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1782, allocations: 8.75 kB / 445.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.1783, allocations: 16.78 kB / 445.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1784, allocations: 143 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1785, allocations: 13.12 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1785, allocations: 7.531 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1786, allocations: 120.7 kB / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1786, allocations: 0 / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1787, allocations: 6.594 kB / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1787, allocations: 9.938 kB / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1788, allocations: 74.73 kB / 446.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.1791, allocations: 373.1 kB / 446.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1792, allocations: 78.92 kB / 446.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1793, allocations: 39.33 kB / 446.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1793, allocations: 2.5 kB / 446.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.1793, allocations: 30.56 kB / 446.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.1793, allocations: 2.906 kB / 446.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002303/0.1795, allocations: 126.9 kB / 446.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.1795, allocations: 57.11 kB / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.1796, allocations: 128.4 kB / 447.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.1796, allocations: 29.64 kB / 447.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1796, allocations: 112.2 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.1796, allocations: 18.67 kB / 447.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1797, allocations: 30.55 kB / 447.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.1797, allocations: 324.8 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.1797, allocations: 24.34 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.1798, allocations: 42.36 kB / 447.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/0.1799, allocations: 79.78 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1799, allocations: 0 / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001162/0.18, allocations: 97.52 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.18, allocations: 5.656 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.18, allocations: 6.219 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.18, allocations: 0 / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.1801, allocations: 26.97 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1801, allocations: 0 / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.1801, allocations: 18.22 kB / 447.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1801, allocations: 2.719 kB / 447.9 MB, free: 41.99 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.115e-05/0.1802, allocations: 116 kB / 448 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1802, allocations: 9.391 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1804, allocations: 116.3 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1804, allocations: 2.688 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1804, allocations: 0 / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1804, allocations: 0 / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.902e-05/0.1804, allocations: 133.9 kB / 448.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1804, allocations: 7.234 kB / 448.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1805, allocations: 16.67 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1805, allocations: 2.906 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1805, allocations: 5.562 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1805, allocations: 3.938 kB / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1805, allocations: 0 / 448.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1806, allocations: 199.5 kB / 448.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.1806, allocations: 9.875 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.1806, allocations: 4 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.1807, allocations: 11.25 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1807, allocations: 9.344 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1807, allocations: 3.141 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.1807, allocations: 94.34 kB / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1807, allocations: 0 / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.1809, allocations: 18.89 kB / 448.6 MB, free: 41.47 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 5.775e-05/0.1809, allocations: 91.53 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1811, allocations: 76.86 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1811, allocations: 0 / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.1811, allocations: 36.91 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.1813, allocations: 9.031 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.1816, allocations: 214.8 kB / 449 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.1816, allocations: 90.92 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.1816, allocations: 18.44 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1816, allocations: 0 / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of Templates: time 0.001682/0.1833, allocations: 1.115 MB / 450.3 MB, free: 41.06 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] 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: 4.252255832776427]