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.001491/0.001491, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001759/0.001759, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2391/0.2391, allocations: 46.93 MB / 361.5 MB, free: 4.172 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.002506/0.002506, allocations: 75.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3716, allocations: 66.08 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.0032/0.3748, allocations: 1.703 MB / 0.5636 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.375, allocations: 75.69 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.3751, allocations: 4 kB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.3752, allocations: 15.8 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.3752, allocations: 7.875 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.3754, allocations: 31.97 kB / 0.5637 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3756, allocations: 79.83 kB / 0.5638 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3757, allocations: 37.56 kB / 0.5639 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3758, allocations: 47.77 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.3759, allocations: 39.78 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3759, allocations: 8 kB / 0.5639 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.3759, allocations: 4 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.376, allocations: 15.94 kB / 0.564 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.376, allocations: 39.73 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3762, allocations: 77.98 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3762, allocations: 0 / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.34e-05/0.3762, allocations: 7.984 kB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3762, allocations: 0 / 0.5641 GB, free: 2.035 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.0005471/0.3767, allocations: 326 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3768, allocations: 12.03 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3768, allocations: 12.84 kB / 0.5644 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3771, allocations: 142.4 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3771, allocations: 12.56 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3771, allocations: 4.375 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3774, allocations: 119.6 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3774, allocations: 0 / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3774, allocations: 8 kB / 0.5647 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3774, allocations: 0 / 0.5647 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3777, allocations: 75.89 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.3783, allocations: 423.8 kB / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3785, allocations: 74.42 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3786, allocations: 36.88 kB / 0.5653 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3786, allocations: 4 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3786, allocations: 38.48 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3786, allocations: 0 / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.3791, allocations: 125.8 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3791, allocations: 59.34 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3792, allocations: 130.1 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3793, allocations: 25.7 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.3793, allocations: 112.2 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3794, allocations: 27.73 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.3794, allocations: 21.72 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3796, allocations: 318.8 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.3797, allocations: 31.98 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3798, allocations: 45.69 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.38, allocations: 73.61 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.38, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.3802, allocations: 113.5 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3802, allocations: 8 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3803, allocations: 0 / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3803, allocations: 0 / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3804, allocations: 23.92 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3804, allocations: 0 / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.3805, allocations: 15.86 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3805, allocations: 4 kB / 0.5664 GB, free: 15.45 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.000107/0.3806, allocations: 127.1 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.3806, allocations: 7.953 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.3809, allocations: 114.3 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3809, allocations: 3.984 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3809, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3809, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.3812, allocations: 176.6 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3812, allocations: 0 / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.3813, allocations: 23.98 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3813, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3813, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3813, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3813, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3816, allocations: 199.8 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.3816, allocations: 16.12 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3816, allocations: 8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.3817, allocations: 7.938 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3817, allocations: 7.984 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3817, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.3818, allocations: 101.7 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3818, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000219/0.382, allocations: 19.94 kB / 0.5672 GB, free: 14.58 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.0001135/0.3821, allocations: 91.25 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3824, allocations: 79.94 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3824, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3825, allocations: 31.97 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.3827, allocations: 14.28 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.3832, allocations: 211.7 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3836, allocations: 0.7041 MB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.3836, allocations: 11.44 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3836, allocations: 0 / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.003064/0.3867, allocations: 1.099 MB / 0.5694 GB, free: 12.28 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.27408521506004]