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.001741/0.001741, allocations: 110 kB / 20.43 MB, free: 1.453 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.001964/0.001964, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.528/1.528, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2373/0.2373, allocations: 46.92 MB / 360.8 MB, free: 4.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 87.84 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3458, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002954/0.3487, allocations: 1.687 MB / 0.5624 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.349, allocations: 79.61 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.349, allocations: 7.938 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.3491, allocations: 7.875 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3491, allocations: 7.875 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.3493, allocations: 31.97 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3494, allocations: 87.75 kB / 0.5626 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3495, allocations: 47.38 kB / 0.5626 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.3496, allocations: 31.86 kB / 0.5627 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.3497, allocations: 39.78 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3497, allocations: 8 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.3497, allocations: 4 kB / 0.5627 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.3497, allocations: 19.92 kB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.3498, allocations: 39.73 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3499, allocations: 79.53 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3499, allocations: 0 / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3499, allocations: 4 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3499, allocations: 3.938 kB / 0.5629 GB, free: 2.094 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.0005245/0.3505, allocations: 322.2 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3505, allocations: 8.031 kB / 0.5632 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.3506, allocations: 38.75 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.3506, allocations: 16.84 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3508, allocations: 158.2 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3509, allocations: 12.55 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3509, allocations: 8.375 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3512, allocations: 115.5 kB / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3512, allocations: 0 / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3512, allocations: 0 / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3512, allocations: 4 kB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.3514, allocations: 83.83 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.3521, allocations: 411.8 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3523, allocations: 82.45 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3524, allocations: 36.88 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3524, allocations: 0 / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3524, allocations: 34.56 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.3524, allocations: 0 / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000432/0.3528, allocations: 133.7 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3529, allocations: 55.41 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.353, allocations: 126.1 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.353, allocations: 29.7 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.3531, allocations: 108.2 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3531, allocations: 23.88 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3532, allocations: 29.66 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3534, allocations: 318.8 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3535, allocations: 27.98 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.3536, allocations: 49.61 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3538, allocations: 73.67 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3538, allocations: 3.938 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002553/0.354, allocations: 105.5 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3541, allocations: 4 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3541, allocations: 0 / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3541, allocations: 4 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3542, allocations: 27.92 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3542, allocations: 0 / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.3543, allocations: 11.92 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3543, allocations: 4 kB / 0.5652 GB, free: 15.46 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.0001078/0.3544, allocations: 125.8 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.3544, allocations: 7.953 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.3547, allocations: 106.3 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3548, allocations: 4 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3548, allocations: 0 / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3548, allocations: 0 / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.355, allocations: 176.6 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.355, allocations: 0 / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.3551, allocations: 23.98 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3551, allocations: 8 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3551, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3551, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3551, allocations: 3.938 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3554, allocations: 195.4 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.3554, allocations: 15.95 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3555, allocations: 3.984 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.3555, allocations: 8 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.3556, allocations: 3.984 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3556, allocations: 4 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.3557, allocations: 105.5 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3559, allocations: 12 kB / 0.566 GB, free: 14.59 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.0006754/0.3566, allocations: 0.7364 MB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3569, allocations: 67.89 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3569, allocations: 0 / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.357, allocations: 40.27 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.3572, allocations: 4 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3591, allocations: 1.512 MB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3594, allocations: 0.7002 MB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.3595, allocations: 8.422 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.3595, allocations: 31.42 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3595, allocations: 0 / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3873, allocations: 2.135 MB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 4 kB / 0.5711 GB, free: 9.316 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.77573401783593]