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.0009283/0.0009283, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003984/0.003984, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.888/0.888, allocations: 177 MB / 204.9 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] 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.2525/0.2525, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 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: 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_trunk_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_trunk_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.138e-05, allocations: 5.094 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.1781/0.1781, allocations: 1.655 MB / 445.1 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.1783, allocations: 74.72 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1784, allocations: 6.906 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1784, allocations: 14.12 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.1785, allocations: 6.891 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.1786, allocations: 37.27 kB / 445.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.1787, allocations: 84.19 kB / 445.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1789, allocations: 30.39 kB / 445.3 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.1789, allocations: 49.09 kB / 445.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.179, allocations: 27.11 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.179, allocations: 5.75 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.179, allocations: 5.781 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.179, allocations: 17.64 kB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1791, allocations: 26.05 kB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1792, allocations: 86.5 kB / 445.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1792, allocations: 0 / 445.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1792, allocations: 0 / 445.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1792, allocations: 0 / 445.5 MB, free: 43.55 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.0003524/0.1795, allocations: 328.3 kB / 445.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1796, allocations: 8.938 kB / 445.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1796, allocations: 14.66 kB / 445.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1798, allocations: 138.7 kB / 446 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1798, allocations: 10.88 kB / 446 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1798, allocations: 6.25 kB / 446 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.18, allocations: 122.9 kB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.18, allocations: 0 / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.18, allocations: 3.75 kB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.18, allocations: 6.375 kB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1801, allocations: 70.86 kB / 446.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1804, allocations: 377.8 kB / 446.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1806, allocations: 73.53 kB / 446.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.1806, allocations: 38.5 kB / 446.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1806, allocations: 3.234 kB / 446.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.1806, allocations: 37.09 kB / 446.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1806, allocations: 0 / 446.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002374/0.1809, allocations: 133.3 kB / 446.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.1809, allocations: 55.14 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.181, allocations: 127.3 kB / 447 MB, free: 42.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-06/0.181, allocations: 29.78 kB / 447.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.181, allocations: 112 kB / 447.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.181, allocations: 26.89 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.181, allocations: 30.8 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.836e-05/0.1811, allocations: 320.3 kB / 447.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.1811, allocations: 23.09 kB / 447.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.1812, allocations: 43.05 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.692e-05/0.1813, allocations: 76.7 kB / 447.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1813, allocations: 0 / 447.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001297/0.1814, allocations: 98.97 kB / 447.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1814, allocations: 5.969 kB / 447.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1814, allocations: 3.938 kB / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1814, allocations: 2.875 kB / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.1815, allocations: 28.69 kB / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1815, allocations: 0 / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.1815, allocations: 9.578 kB / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1815, allocations: 10.11 kB / 447.8 MB, free: 41.92 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.177e-05/0.1816, allocations: 112.7 kB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1816, allocations: 12.86 kB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.1818, allocations: 120.3 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1818, allocations: 2.938 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1818, allocations: 0 / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1818, allocations: 0 / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.125e-05/0.1819, allocations: 132.6 kB / 448.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1819, allocations: 6.109 kB / 448.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.1819, allocations: 21.73 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1819, allocations: 0 / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1819, allocations: 0 / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1819, allocations: 8.484 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1819, allocations: 0 / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.182, allocations: 199.1 kB / 448.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.182, allocations: 6.047 kB / 448.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.182, allocations: 5.516 kB / 448.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.774e-05/0.1821, allocations: 14.44 kB / 448.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1821, allocations: 6.047 kB / 448.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1821, allocations: 5.344 kB / 448.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.1821, allocations: 100.6 kB / 448.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1821, allocations: 0 / 448.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.1823, allocations: 22.58 kB / 448.6 MB, free: 41.33 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 7.331e-05/0.1824, allocations: 90.34 kB / 448.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1825, allocations: 69.17 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1825, allocations: 4 kB / 448.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.1826, allocations: 34.14 kB / 448.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1827, allocations: 5 kB / 448.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.183, allocations: 219.5 kB / 449 MB, free: 41.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.1831, allocations: 88.53 kB / 449.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1831, allocations: 18.25 kB / 449.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1831, allocations: 0 / 449.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of Templates: time 0.00165/0.1848, allocations: 1.112 MB / 450.2 MB, free: 40.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.4433028642088175]