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.0009221/0.0009221, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001042/0.001042, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.015/1.015, allocations: 177 MB / 205.9 MB, free: 4.453 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.1734/0.1734, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.863e-06/1.863e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.952e-05, allocations: 6.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002111/0.00213, allocations: 1.688 MB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002767/0.002407, allocations: 75.69 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.002499, allocations: 7.938 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.002537, allocations: 11.86 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.002604, allocations: 11.81 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.002783, allocations: 27.97 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.002882, allocations: 83.75 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.003044, allocations: 29.58 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.003179, allocations: 51.88 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.003247, allocations: 23.91 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.003274, allocations: 8 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.003289, allocations: 8 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.003319, allocations: 23.91 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.00335, allocations: 19.94 kB / 382.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003479, allocations: 59.67 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003482, allocations: 3.938 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003482, allocations: 0 / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.003488, allocations: 0 / 382.1 MB, free: 20.61 MB / 314.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.0004376/0.003925, allocations: 416.5 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.003971, allocations: 16.02 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.004012, allocations: 16.89 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.004201, allocations: 164.3 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.004223, allocations: 4.562 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004237, allocations: 8.375 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.004408, allocations: 113.8 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.00442, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.00443, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.004438, allocations: 11.98 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.004479, allocations: 31.91 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.004796, allocations: 451 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.004877, allocations: 55.02 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.004898, allocations: 15.72 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.004914, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004934, allocations: 33.39 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.004935, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.00015/0.005085, allocations: 85.67 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.005108, allocations: 55.41 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.005166, allocations: 178 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.005173, allocations: 25.7 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.005217, allocations: 158.7 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.005229, allocations: 27.8 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.005258, allocations: 23.38 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.005315, allocations: 0.4923 MB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.005328, allocations: 4 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.00535, allocations: 31.34 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.005391, allocations: 43.31 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005394, allocations: 0 / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.649e-05/0.00547, allocations: 77.56 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005483, allocations: 11.98 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005487, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.005499, allocations: 7.875 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.005563, allocations: 12 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005567, allocations: 4 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.005591, allocations: 15.88 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005596, allocations: 4.031 kB / 384.7 MB, free: 17.82 MB / 314.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.786e-05/0.005643, allocations: 160.6 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.005662, allocations: 11.89 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/0.00575, allocations: 70.11 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.005754, allocations: 3.938 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005755, allocations: 0 / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005758, allocations: 4 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.813e-05/0.005847, allocations: 117.2 kB / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005848, allocations: 0 / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.005882, allocations: 15.98 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005883, allocations: 4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.005888, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005889, allocations: 8 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00589, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.005964, allocations: 223.7 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.005977, allocations: 11.89 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.00599, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.006024, allocations: 4 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.006055, allocations: 11.98 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006058, allocations: 3.938 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.653e-05/0.006084, allocations: 142 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006084, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.006224, allocations: 16 kB / 385.5 MB, free: 16.96 MB / 314.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.487e-05/0.006279, allocations: 87.25 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.00636, allocations: 44.14 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006361, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.006383, allocations: 27.77 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.006554, allocations: 11.22 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.006801, allocations: 215.7 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.006826, allocations: 63.28 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.926e-05/0.006855, allocations: 4.734 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.006897, allocations: 86.12 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006897, allocations: 4 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of Templates: time 0.002181/0.009078, allocations: 0.7529 MB / 386.8 MB, free: 15.62 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1734870886430144]