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.00199/0.00199, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002465/0.002465, allocations: 202.2 kB / 24.52 MB, free: 4.156 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 / 258.3 MB, free: 8.016 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.2488/0.2488, allocations: 46.93 MB / 361.6 MB, free: 4.266 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: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 0.4969 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 66.04 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003136/0.3432, allocations: 1.692 MB / 0.5631 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.3436, allocations: 75.69 kB / 0.5631 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3436, allocations: 4 kB / 0.5631 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.3437, allocations: 11.81 kB / 0.5632 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.3438, allocations: 15.86 kB / 0.5632 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3439, allocations: 31.91 kB / 0.5632 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.344, allocations: 79.83 kB / 0.5633 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3442, allocations: 43.38 kB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3443, allocations: 39.8 kB / 0.5634 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.3444, allocations: 39.77 kB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3444, allocations: 8 kB / 0.5634 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.3445, allocations: 4 kB / 0.5634 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.3445, allocations: 19.92 kB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3445, allocations: 39.75 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3447, allocations: 83.58 kB / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3447, allocations: 0 / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3447, allocations: 0 / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.3447, allocations: 0 / 0.5635 GB, free: 2.285 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.0005537/0.3453, allocations: 326 kB / 0.5639 GB, free: 1.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3453, allocations: 12.03 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.3453, allocations: 4.375 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3454, allocations: 38.75 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.3454, allocations: 16.84 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3457, allocations: 146.3 kB / 0.5641 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3457, allocations: 8.562 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3457, allocations: 12.12 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.346, allocations: 115.3 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.346, allocations: 4 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.346, allocations: 4 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3461, allocations: 4 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3463, allocations: 75.89 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.347, allocations: 423.7 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3472, allocations: 78.45 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3473, allocations: 32.88 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3473, allocations: 0 / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3474, allocations: 30.56 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.3474, allocations: 4 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004519/0.3478, allocations: 133.8 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3479, allocations: 55.41 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.348, allocations: 133.3 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.348, allocations: 25.7 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3481, allocations: 108.2 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3482, allocations: 27.8 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.3482, allocations: 21.72 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3484, allocations: 326.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3485, allocations: 23.98 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3486, allocations: 45.62 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3488, allocations: 77.61 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3488, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003262/0.3492, allocations: 109.6 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3492, allocations: 4 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3492, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3492, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3493, allocations: 27.86 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3493, allocations: 4.031 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.3494, allocations: 15.92 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3494, allocations: 4 kB / 0.5659 GB, free: 15.64 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.986e-05/0.3495, allocations: 117.8 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3495, allocations: 7.953 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.3499, allocations: 118.3 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3499, allocations: 0 / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3499, allocations: 4 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3499, allocations: 4 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.3501, allocations: 172.6 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3501, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.3502, allocations: 15.98 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3502, allocations: 0 / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3502, allocations: 4 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3502, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3502, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3505, allocations: 211.8 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.3506, allocations: 7.953 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3506, allocations: 7.984 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3507, allocations: 4 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.3507, allocations: 7.984 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3507, allocations: 4 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.3508, allocations: 103.2 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3508, allocations: 0 / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3511, allocations: 16 kB / 0.5667 GB, free: 14.77 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.0006396/0.3517, allocations: 0.728 MB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.352, allocations: 68.14 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.352, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3521, allocations: 43.83 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3524, allocations: 10.66 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3544, allocations: 1.512 MB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3547, allocations: 0.6963 MB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.3548, allocations: 12.42 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.3548, allocations: 27.42 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3548, allocations: 0 / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.3764, allocations: 2.154 MB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.66, allocations: 10.89 kB / 0.5718 GB, free: 9.52 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] 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: 14.91986572201131]