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.001326/0.001326, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001504/0.001504, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.527/1.527, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2612/0.2612, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002044/0.002044, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 66.02 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.004836/0.3652, allocations: 1.652 MB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003925/0.3656, allocations: 75.69 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3657, allocations: 7.938 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.932e-05/0.3658, allocations: 11.86 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.3658, allocations: 7.875 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3661, allocations: 31.97 kB / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3663, allocations: 83.77 kB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.3665, allocations: 45.53 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3666, allocations: 35.86 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3667, allocations: 35.78 kB / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.3668, allocations: 12 kB / 0.5638 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.834e-05/0.3668, allocations: 4 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.3668, allocations: 19.92 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.3669, allocations: 27.81 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3671, allocations: 85.97 kB / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3671, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3671, allocations: 3.938 kB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3671, allocations: 4 kB / 0.5639 GB, free: 2.012 MB / 398.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.0007755/0.3679, allocations: 318.1 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3679, allocations: 8.031 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.368, allocations: 20.83 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.3684, allocations: 150.3 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.3684, allocations: 4.562 kB / 0.5644 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.3684, allocations: 8.375 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.3689, allocations: 122.7 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3689, allocations: 0 / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3689, allocations: 0 / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3689, allocations: 8 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3693, allocations: 79.83 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.3703, allocations: 372.4 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.3707, allocations: 74.53 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3709, allocations: 32.88 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3709, allocations: 11.92 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.371, allocations: 30.56 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.371, allocations: 0 / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007651/0.3718, allocations: 129.7 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3718, allocations: 59.34 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.372, allocations: 125.5 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.372, allocations: 25.7 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3721, allocations: 108 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3722, allocations: 35.73 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.3722, allocations: 21.72 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3725, allocations: 318.8 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.3727, allocations: 27.98 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3729, allocations: 41.69 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.3733, allocations: 77.67 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3733, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000481/0.3737, allocations: 113.5 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3738, allocations: 8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3738, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3738, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.374, allocations: 23.92 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.374, allocations: 0 / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3742, allocations: 15.92 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.3742, allocations: 4.031 kB / 0.5662 GB, free: 15.5 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.0001348/0.3743, allocations: 117.8 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.3744, allocations: 11.89 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.3749, allocations: 110 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3749, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3749, allocations: 3.984 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3749, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.3752, allocations: 137.2 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3752, allocations: 4 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3754, allocations: 19.98 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.3754, allocations: 7.938 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3754, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3754, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3754, allocations: 4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.376, allocations: 195.5 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.376, allocations: 11.89 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.376, allocations: 3.984 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3762, allocations: 8 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.3763, allocations: 16.16 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3763, allocations: 4 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3764, allocations: 95.2 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3764, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3768, allocations: 23.89 kB / 0.5669 GB, free: 14.67 MB / 414.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.0001371/0.377, allocations: 91.25 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.3774, allocations: 72.42 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3774, allocations: 4.062 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3777, allocations: 35.91 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3781, allocations: 11.94 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.3787, allocations: 219.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3789, allocations: 77.33 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.3789, allocations: 19.42 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3789, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004514/0.3835, allocations: 1.12 MB / 0.5685 GB, free: 12.96 MB / 414.1 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/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: 7.478335119987605]