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.001742/0.001742, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002109/0.002109, allocations: 209 kB / 24.48 MB, free: 3.938 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2403/0.2403, allocations: 46.96 MB / 361.6 MB, free: 4.008 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.002268/0.002268, allocations: 67.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3189, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003117/0.322, allocations: 1.652 MB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.3223, allocations: 75.69 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3224, allocations: 3.938 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.3224, allocations: 11.88 kB / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.3225, allocations: 15.86 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.3227, allocations: 31.97 kB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3228, allocations: 87.75 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.323, allocations: 33.56 kB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/0.3231, allocations: 35.86 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.3231, allocations: 35.77 kB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3232, allocations: 4 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.3232, allocations: 8 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.3232, allocations: 23.92 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3232, allocations: 31.8 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3234, allocations: 77.98 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.3234, allocations: 4 kB / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3234, allocations: 0 / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3234, allocations: 0 / 0.5639 GB, free: 2 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.000566/0.324, allocations: 322.1 kB / 0.5642 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.324, allocations: 12.03 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3241, allocations: 12.84 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3243, allocations: 150.3 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3244, allocations: 4.562 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3244, allocations: 8.375 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.3246, allocations: 122.3 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3247, allocations: 0 / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3247, allocations: 4 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3247, allocations: 4 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3249, allocations: 83.83 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3255, allocations: 368.4 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.3257, allocations: 70.58 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3258, allocations: 40.77 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3258, allocations: 7.938 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3258, allocations: 30.56 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3258, allocations: 7.938 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004298/0.3263, allocations: 133.8 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3263, allocations: 55.41 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3264, allocations: 121.3 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3265, allocations: 25.7 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.3265, allocations: 108 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.3266, allocations: 31.73 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3266, allocations: 21.72 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3268, allocations: 322.8 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3269, allocations: 27.98 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.327, allocations: 37.69 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3272, allocations: 77.61 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3272, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002606/0.3274, allocations: 113.5 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3275, allocations: 4 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3275, allocations: 4 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3275, allocations: 0 / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3276, allocations: 19.98 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3276, allocations: 400 / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.3277, allocations: 11.92 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3277, allocations: 8 kB / 0.5661 GB, free: 15.49 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.107e-05/0.3278, allocations: 113.8 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3278, allocations: 15.92 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.3282, allocations: 121.9 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3282, allocations: 0 / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3282, allocations: 4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3282, allocations: 3.984 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3283, allocations: 133.2 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3283, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.3284, allocations: 19.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3284, allocations: 7.938 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3284, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3284, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3284, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3288, allocations: 203.4 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.3288, allocations: 15.89 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.3288, allocations: 192 / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.3289, allocations: 4 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3289, allocations: 11.92 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3289, allocations: 8 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.329, allocations: 95.27 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.329, allocations: 0 / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3292, allocations: 23.89 kB / 0.5669 GB, free: 14.65 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.000111/0.3293, allocations: 91.25 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3296, allocations: 67.88 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3296, allocations: 4 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3297, allocations: 39.97 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.33, allocations: 8 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.3305, allocations: 211.7 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.3306, allocations: 85.31 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.3306, allocations: 15.44 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3306, allocations: 0 / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Templates: time 0.002852/0.3334, allocations: 1.116 MB / 0.5685 GB, free: 12.96 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.332898190710694]