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.001805/0.001805, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001992/0.001992, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2515/0.2515, allocations: 46.95 MB / 360.9 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.002135/0.002135, allocations: 59.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003511/0.3291, allocations: 1.656 MB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.3294, allocations: 75.69 kB / 0.5628 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.3295, allocations: 7.938 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.3296, allocations: 15.86 kB / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.3296, allocations: 7.875 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.3298, allocations: 27.97 kB / 0.5628 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3299, allocations: 83.77 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3301, allocations: 41.55 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.3302, allocations: 35.86 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.3302, allocations: 39.78 kB / 0.563 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3303, allocations: 11.94 kB / 0.563 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.3303, allocations: 4 kB / 0.563 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3303, allocations: 19.92 kB / 0.563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3304, allocations: 39.78 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3305, allocations: 74 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3305, allocations: 0 / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3305, allocations: 0 / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3305, allocations: 0 / 0.5631 GB, free: 2.031 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.0005378/0.331, allocations: 322.1 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3311, allocations: 12.03 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3311, allocations: 12.84 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3314, allocations: 158.3 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3314, allocations: 8.562 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3315, allocations: 8.312 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3317, allocations: 119.7 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3317, allocations: 0 / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3318, allocations: 0 / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3318, allocations: 4 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.332, allocations: 83.83 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3326, allocations: 372.4 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3328, allocations: 70.55 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3329, allocations: 36.86 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.333, allocations: 3.938 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.333, allocations: 30.56 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.333, allocations: 0 / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004338/0.3334, allocations: 133.7 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3335, allocations: 55.41 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3336, allocations: 125.5 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3336, allocations: 29.7 kB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.3337, allocations: 104 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3338, allocations: 31.81 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3339, allocations: 29.7 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3341, allocations: 310.8 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3342, allocations: 35.97 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3343, allocations: 49.62 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3345, allocations: 61.69 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3345, allocations: 192 / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002702/0.3348, allocations: 117.5 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3348, allocations: 11.94 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3348, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3348, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3349, allocations: 19.98 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3349, allocations: 400 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.335, allocations: 11.94 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.335, allocations: 4 kB / 0.5654 GB, free: 15.52 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.0001023/0.3351, allocations: 117.8 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3351, allocations: 15.83 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.3355, allocations: 114 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3355, allocations: 7.938 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3355, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3355, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3357, allocations: 137.2 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3357, allocations: 4 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.3357, allocations: 15.98 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3358, allocations: 3.938 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3358, allocations: 8 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3358, allocations: 0 / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.3358, allocations: 7.938 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3361, allocations: 187.5 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.3361, allocations: 19.88 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3361, allocations: 0 / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.3362, allocations: 11.98 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3362, allocations: 7.984 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3362, allocations: 0 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.3363, allocations: 99.27 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3363, allocations: 0 / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3365, allocations: 23.89 kB / 0.5662 GB, free: 14.68 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 9.726e-05/0.3366, allocations: 91.25 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.337, allocations: 71.88 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.337, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3371, allocations: 39.91 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3373, allocations: 12 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3378, allocations: 186 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3379, allocations: 85.31 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.3379, allocations: 12.66 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.338, allocations: 11.44 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.338, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Templates: time 0.003765/0.3417, allocations: 0.7666 MB / 0.5674 GB, free: 13.37 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.190900808665901]