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.001683/0.001683, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002073/0.002073, allocations: 209.5 kB / 24.48 MB, free: 3.941 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.611/1.611, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2243/0.2243, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.002985/0.002985, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3176, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002756/0.3203, allocations: 1.66 MB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002449/0.3206, allocations: 71.69 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.3206, allocations: 7.938 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.3207, allocations: 7.875 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.3207, allocations: 7.875 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3209, allocations: 35.95 kB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.321, allocations: 87.75 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3212, allocations: 37.56 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.3212, allocations: 39.86 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.3213, allocations: 35.78 kB / 0.5637 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3213, allocations: 8 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.3213, allocations: 4 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3214, allocations: 19.92 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.3214, allocations: 35.78 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3215, allocations: 78 kB / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3215, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3215, allocations: 7.938 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3216, allocations: 0 / 0.5639 GB, free: 2.012 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.0005198/0.3221, allocations: 330.1 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3221, allocations: 8.031 kB / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3222, allocations: 12.84 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3224, allocations: 146.3 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3224, allocations: 4.562 kB / 0.5644 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3224, allocations: 12.38 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3227, allocations: 126.7 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3227, allocations: 0 / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3227, allocations: 0 / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3227, allocations: 4 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.323, allocations: 79.83 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.3235, allocations: 376.4 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3237, allocations: 66.55 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3238, allocations: 44.8 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3239, allocations: 3.938 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3239, allocations: 30.56 kB / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3239, allocations: 0 / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004168/0.3243, allocations: 133.7 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3244, allocations: 55.41 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3245, allocations: 121.7 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3245, allocations: 29.7 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.3246, allocations: 112 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3246, allocations: 31.8 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3246, allocations: 21.72 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3248, allocations: 318.8 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3249, allocations: 31.97 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.325, allocations: 41.64 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.3252, allocations: 73.98 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3252, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/0.3255, allocations: 113.5 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3255, allocations: 8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3255, allocations: 3.984 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3255, allocations: 0 / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3256, allocations: 23.92 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3256, allocations: 8.031 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.3257, allocations: 11.94 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3257, allocations: 4 kB / 0.5662 GB, free: 15.48 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.043e-05/0.3258, allocations: 117.8 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3258, allocations: 11.89 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.3261, allocations: 110 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3261, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3261, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3261, allocations: 4 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3263, allocations: 141.2 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3263, allocations: 0 / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.3264, allocations: 15.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3264, allocations: 3.938 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3264, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3264, allocations: 4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3264, allocations: 192 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.3267, allocations: 199.4 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3268, allocations: 19.83 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3268, allocations: 4 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.3269, allocations: 7.984 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3269, allocations: 4 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3269, allocations: 4 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.327, allocations: 91.27 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.327, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3272, allocations: 27.88 kB / 0.5669 GB, free: 14.67 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.263e-05/0.3273, allocations: 91.25 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3276, allocations: 75.88 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3276, allocations: 0 / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3277, allocations: 35.91 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3279, allocations: 8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3283, allocations: 190 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.3284, allocations: 85.38 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.3284, allocations: 4.672 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3285, allocations: 11.44 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3285, allocations: 7.938 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003212/0.3317, allocations: 0.7694 MB / 0.5681 GB, free: 13.36 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 -s gbode -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: 5.067441821011016]