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.00139/0.00139, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001493/0.001493, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.662/1.662, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2396/0.2396, allocations: 46.95 MB / 361.6 MB, free: 3.93 MB / 286.1 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 0.002711/0.002711, allocations: 79.88 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.341, allocations: 66.08 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003078/0.3441, allocations: 1.659 MB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.3444, allocations: 67.7 kB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.3444, allocations: 4 kB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.3445, allocations: 11.81 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.3445, allocations: 11.86 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.3447, allocations: 35.95 kB / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3448, allocations: 79.83 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.345, allocations: 37.56 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.064e-05/0.3451, allocations: 35.8 kB / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.3452, allocations: 39.78 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.3452, allocations: 8 kB / 0.5638 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.3452, allocations: 4 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.3453, allocations: 23.91 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3453, allocations: 31.8 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3455, allocations: 74.05 kB / 0.564 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3455, allocations: 3.938 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.3455, allocations: 4 kB / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3455, allocations: 0 / 0.564 GB, free: 1.824 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.0005549/0.346, allocations: 322.1 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3461, allocations: 15.97 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3461, allocations: 12.84 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3464, allocations: 145.5 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3464, allocations: 8.562 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3464, allocations: 8.375 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3467, allocations: 123.6 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3467, allocations: 0 / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3467, allocations: 4 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3468, allocations: 4 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.347, allocations: 75.89 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.3476, allocations: 376.4 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3478, allocations: 70.48 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3479, allocations: 40.86 kB / 0.5651 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.3479, allocations: 3.938 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.348, allocations: 30.56 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.348, allocations: 3.938 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004297/0.3484, allocations: 133.8 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3485, allocations: 59.34 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3486, allocations: 117.8 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3486, allocations: 29.7 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.3487, allocations: 108 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.3487, allocations: 31.8 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3488, allocations: 25.66 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3489, allocations: 314.8 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.349, allocations: 35.97 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3492, allocations: 41.7 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3494, allocations: 73.92 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3494, allocations: 0 / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00027/0.3496, allocations: 109.5 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3497, allocations: 8 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3497, allocations: 0 / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3497, allocations: 3.984 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3498, allocations: 23.92 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3498, allocations: 0 / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.3499, allocations: 15.97 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3499, allocations: 7.938 kB / 0.5663 GB, free: 15.3 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.0001005/0.35, allocations: 113.8 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.35, allocations: 15.88 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3503, allocations: 113.9 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3503, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3503, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3504, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3505, allocations: 133.2 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3505, allocations: 8 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.3506, allocations: 15.98 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3506, allocations: 3.938 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3506, allocations: 4 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3506, allocations: 4 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3506, allocations: 0 / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.351, allocations: 199.4 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.351, allocations: 11.89 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.351, allocations: 8.188 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.3511, allocations: 11.98 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3511, allocations: 3.938 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3511, allocations: 4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.3512, allocations: 91.27 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3514, allocations: 23.89 kB / 0.567 GB, free: 14.48 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.00012/0.3516, allocations: 95.23 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3518, allocations: 71.89 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3518, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3519, allocations: 35.97 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3522, allocations: 6.188 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.3527, allocations: 215.7 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3528, allocations: 85.31 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.3528, allocations: 19.44 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3528, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.002966/0.3558, allocations: 1.111 MB / 0.5686 GB, free: 12.79 MB / 414.1 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/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_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: 7.627425892744213]