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.002169/0.002169, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002617/0.002617, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.668/1.668, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2527/0.2527, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.002327/0.002327, allocations: 71.89 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4533, allocations: 66.02 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003301/0.4566, allocations: 1.707 MB / 0.5628 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.4568, allocations: 71.7 kB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.4569, allocations: 4 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.457, allocations: 15.8 kB / 0.5629 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.457, allocations: 11.86 kB / 0.5629 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.4572, allocations: 27.97 kB / 0.5629 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4574, allocations: 79.83 kB / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.4576, allocations: 41.56 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4577, allocations: 39.8 kB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.4578, allocations: 39.78 kB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.4578, allocations: 8 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.4578, allocations: 4 kB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.4579, allocations: 23.91 kB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.4579, allocations: 39.73 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.4581, allocations: 74.05 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4581, allocations: 3.938 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4581, allocations: 0 / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4581, allocations: 0 / 0.5632 GB, free: 2.223 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.0007511/0.4588, allocations: 330.1 kB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.4589, allocations: 8.031 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.459, allocations: 16.84 kB / 0.5636 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.4593, allocations: 146.3 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4593, allocations: 8.562 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4593, allocations: 8.375 kB / 0.5637 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.4597, allocations: 125.1 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4597, allocations: 0 / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4597, allocations: 8 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4597, allocations: 0 / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.4599, allocations: 71.89 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.4608, allocations: 423.8 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.461, allocations: 78.41 kB / 0.5644 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4611, allocations: 32.88 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.4611, allocations: 0 / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4612, allocations: 38.56 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4612, allocations: 3.938 kB / 0.5645 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.4617, allocations: 129.8 kB / 0.5646 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.4618, allocations: 55.34 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4619, allocations: 132.9 kB / 0.5648 GB, free: 492 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.462, allocations: 29.7 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4621, allocations: 112.2 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4621, allocations: 23.75 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.4622, allocations: 25.7 kB / 0.565 GB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.4624, allocations: 318.8 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4625, allocations: 23.98 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.4626, allocations: 49.69 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4628, allocations: 73.61 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4628, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002597/0.4631, allocations: 105.5 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4631, allocations: 8 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4631, allocations: 4.031 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4631, allocations: 0 / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4633, allocations: 23.92 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4633, allocations: 0 / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.4633, allocations: 11.92 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4634, allocations: 4 kB / 0.5656 GB, free: 15.64 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.0001397/0.4635, allocations: 121.8 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.4635, allocations: 11.89 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.4639, allocations: 122.3 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4639, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4639, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.4639, allocations: 3.984 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.4641, allocations: 168.6 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4641, allocations: 0 / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.4642, allocations: 19.98 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4642, allocations: 0 / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4642, allocations: 3.984 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4642, allocations: 4 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4642, allocations: 480 / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.4646, allocations: 207.3 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.4646, allocations: 15.95 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4646, allocations: 192 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.4647, allocations: 7.984 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.4648, allocations: 15.92 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4648, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.918e-05/0.4649, allocations: 99.27 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4649, allocations: 0 / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.4651, allocations: 19.94 kB / 0.5664 GB, free: 14.75 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.0001193/0.4652, allocations: 91.25 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.4655, allocations: 75.94 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4655, allocations: 0 / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4656, allocations: 27.98 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.4659, allocations: 11.94 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.4663, allocations: 186 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4667, allocations: 0.704 MB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.4668, allocations: 8.422 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.4668, allocations: 11.44 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4668, allocations: 0 / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Templates: time 0.003742/0.4706, allocations: 0.7393 MB / 0.5682 GB, free: 12.85 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/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: 5.653526306850836]