Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.95 MB / 361.6 MB, free: 3.965 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 76.17 kB / 0.4969 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3112, allocations: 66.08 MB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002971/0.3142, allocations: 1.659 MB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.3145, allocations: 75.69 kB / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.3145, allocations: 3.938 kB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.3146, allocations: 7.875 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.3146, allocations: 15.86 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.3148, allocations: 27.97 kB / 0.5632 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3149, allocations: 87.77 kB / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3151, allocations: 43.38 kB / 0.5633 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.3152, allocations: 35.86 kB / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.3153, allocations: 35.78 kB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3153, allocations: 4 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.3153, allocations: 8 kB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.3154, allocations: 19.92 kB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3154, allocations: 35.8 kB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3155, allocations: 79.53 kB / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3155, allocations: 0 / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3156, allocations: 4 kB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3156, allocations: 0 / 0.5635 GB, free: 1.93 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.0005619/0.3161, allocations: 318.2 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3162, allocations: 12.03 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.3162, allocations: 384 / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3162, allocations: 46.73 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3163, allocations: 12.84 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3165, allocations: 154.3 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3166, allocations: 8.562 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3166, allocations: 20.06 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3169, allocations: 107.4 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3169, allocations: 3.984 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3169, allocations: 4 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3169, allocations: 4 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.3171, allocations: 79.83 kB / 0.5642 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.3177, allocations: 407.8 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3179, allocations: 74.52 kB / 0.5647 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3181, allocations: 32.88 kB / 0.5647 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3181, allocations: 3.938 kB / 0.5647 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3181, allocations: 34.56 kB / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3181, allocations: 0 / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004163/0.3185, allocations: 133.7 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3186, allocations: 51.41 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3187, allocations: 130.1 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3187, allocations: 25.7 kB / 0.5651 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.3188, allocations: 112.2 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.3188, allocations: 20 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3189, allocations: 25.7 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.319, allocations: 326.6 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3191, allocations: 27.98 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3192, allocations: 45.62 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3194, allocations: 73.73 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3194, allocations: 0 / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002561/0.3197, allocations: 113.8 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3197, allocations: 4 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3197, allocations: 4.031 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3197, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3198, allocations: 19.98 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3198, allocations: 0 / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.3199, allocations: 15.92 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3199, allocations: 4 kB / 0.5659 GB, free: 15.3 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.000108/0.32, allocations: 123 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3201, allocations: 7.953 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.3204, allocations: 110.4 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3204, allocations: 3.938 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3204, allocations: 8 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3204, allocations: 3.984 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3206, allocations: 168.6 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3206, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.3207, allocations: 15.98 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3207, allocations: 0 / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3207, allocations: 4 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3207, allocations: 4 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3207, allocations: 3.938 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.321, allocations: 199.6 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.321, allocations: 11.95 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.321, allocations: 7.938 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.3211, allocations: 7.984 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3211, allocations: 0 / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3211, allocations: 7.984 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.3212, allocations: 105.6 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3212, allocations: 4 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.3214, allocations: 16 kB / 0.5666 GB, free: 14.43 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.0006067/0.322, allocations: 0.7279 MB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3223, allocations: 67.89 kB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3223, allocations: 0 / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3224, allocations: 40.03 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3227, allocations: 10.03 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3245, allocations: 1.501 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.3246, allocations: 89.31 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.3246, allocations: 4.438 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.3247, allocations: 27.42 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3247, allocations: 0 / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.3448, allocations: 2.217 MB / 0.5712 GB, free: 9.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.92, allocations: 12.06 kB / 0.5712 GB, free: 9.719 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 13.736520125064999]