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.001576/0.001576, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00181/0.00181, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.2194/0.2194, allocations: 46.94 MB / 361.6 MB, free: 4.332 MB / 286.1 MB " [Timeout remaining time 180] 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.002142/0.002142, allocations: 59.91 kB / 0.4974 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 66.04 MB / 0.5619 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002934/0.3054, allocations: 1.696 MB / 0.5635 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000231/0.3057, allocations: 71.69 kB / 0.5636 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3057, allocations: 7.938 kB / 0.5636 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.3058, allocations: 15.86 kB / 0.5636 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.3058, allocations: 7.875 kB / 0.5636 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.306, allocations: 31.97 kB / 0.5637 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3061, allocations: 91.69 kB / 0.5637 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3062, allocations: 37.56 kB / 0.5638 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.3063, allocations: 35.86 kB / 0.5638 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.3064, allocations: 35.78 kB / 0.5638 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3064, allocations: 4 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.3064, allocations: 8 kB / 0.5639 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3064, allocations: 23.92 kB / 0.5639 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.3065, allocations: 47.72 kB / 0.5639 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3066, allocations: 74 kB / 0.564 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3066, allocations: 0 / 0.564 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3066, allocations: 0 / 0.564 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3066, allocations: 0 / 0.564 GB, free: 2.27 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.0004828/0.3071, allocations: 326.1 kB / 0.5643 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3071, allocations: 8.031 kB / 0.5643 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3072, allocations: 16.84 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3074, allocations: 150.4 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3074, allocations: 8.5 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3074, allocations: 12.31 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3077, allocations: 117.4 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3077, allocations: 0 / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3077, allocations: 4 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3077, allocations: 4 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3079, allocations: 75.89 kB / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.3085, allocations: 419.7 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3087, allocations: 82.47 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.3088, allocations: 32.88 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3088, allocations: 0 / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3088, allocations: 34.56 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.3088, allocations: 0 / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003924/0.3092, allocations: 133.7 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.3093, allocations: 51.41 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3094, allocations: 128.8 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3094, allocations: 29.7 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.3095, allocations: 108.3 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3095, allocations: 27.73 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.3095, allocations: 29.7 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3097, allocations: 322.8 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3098, allocations: 23.98 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.3099, allocations: 45.62 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.3101, allocations: 85.91 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3101, allocations: 0 / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000235/0.3103, allocations: 101.5 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3103, allocations: 4 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3103, allocations: 7.938 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3103, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3104, allocations: 23.98 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3105, allocations: 0 / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.3105, allocations: 15.95 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3105, allocations: 4 kB / 0.5663 GB, free: 15.68 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 9.926e-05/0.3106, allocations: 117.8 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3107, allocations: 7.953 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.3109, allocations: 114.2 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3109, allocations: 4 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3109, allocations: 3.984 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3109, allocations: 4 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3111, allocations: 168.6 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3111, allocations: 4 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.3112, allocations: 23.98 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3112, allocations: 0 / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3112, allocations: 3.984 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3112, allocations: 0 / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3112, allocations: 3.984 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3115, allocations: 203.3 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.3115, allocations: 11.95 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3116, allocations: 0 / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.3116, allocations: 11.98 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3117, allocations: 3.984 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3117, allocations: 4 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.3117, allocations: 99.27 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3117, allocations: 4 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.312, allocations: 15.94 kB / 0.5671 GB, free: 14.81 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 8.938e-05/0.3121, allocations: 95.25 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3123, allocations: 75.86 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3123, allocations: 0 / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.3124, allocations: 27.98 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3127, allocations: 20.12 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3131, allocations: 219.6 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3134, allocations: 0.7002 MB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3134, allocations: 11.44 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3134, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Templates: time 0.002653/0.3161, allocations: 1.095 MB / 0.5693 GB, free: 12.51 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.019263609079644]