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.001845/0.001845, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002412/0.002412, allocations: 210.5 kB / 23.73 MB, free: 4.406 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.498/1.498, allocations: 230.6 MB / 257.5 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.2468/0.2468, allocations: 46.97 MB / 360.9 MB, free: 4.023 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: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003348/0.3384, allocations: 1.657 MB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.3387, allocations: 71.69 kB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.3387, allocations: 7.938 kB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.3388, allocations: 11.86 kB / 0.5623 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.3388, allocations: 7.875 kB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.339, allocations: 35.97 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3391, allocations: 83.77 kB / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.3393, allocations: 39.38 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.3394, allocations: 35.84 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.3394, allocations: 35.78 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3395, allocations: 8 kB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.3395, allocations: 8 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.3395, allocations: 11.94 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.3396, allocations: 31.8 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3397, allocations: 87.52 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3397, allocations: 0 / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3397, allocations: 0 / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3397, allocations: 4 kB / 0.5627 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.0005623/0.3403, allocations: 318.2 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3403, allocations: 8.031 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.3404, allocations: 42.73 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3404, allocations: 12.84 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3407, allocations: 154.3 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3407, allocations: 4.562 kB / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3407, allocations: 16.38 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.341, allocations: 125.3 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.341, allocations: 0 / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.341, allocations: 0 / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.341, allocations: 4 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.3413, allocations: 79.83 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.3419, allocations: 403.8 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3421, allocations: 82.41 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3422, allocations: 32.88 kB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3422, allocations: 3.984 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.3422, allocations: 34.56 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3422, allocations: 0 / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004346/0.3427, allocations: 129.7 kB / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3427, allocations: 51.41 kB / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3429, allocations: 129.1 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3429, allocations: 29.7 kB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.343, allocations: 112.2 kB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.343, allocations: 23.8 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.343, allocations: 21.72 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3432, allocations: 322.8 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3433, allocations: 19.98 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3434, allocations: 53.62 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3436, allocations: 73.73 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3436, allocations: 3.938 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002609/0.3439, allocations: 105.5 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3439, allocations: 6.656 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3439, allocations: 0 / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3439, allocations: 4.031 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3441, allocations: 23.98 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3441, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.3441, allocations: 15.92 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3442, allocations: 400 / 0.565 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 0.0001165/0.3443, allocations: 117.8 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3443, allocations: 11.89 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.3446, allocations: 118.3 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3446, allocations: 4 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3446, allocations: 11.94 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3446, allocations: 0 / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.3449, allocations: 168.6 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3449, allocations: 0 / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3449, allocations: 15.98 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.345, allocations: 0 / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.345, allocations: 8 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.345, allocations: 4.172 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.345, allocations: 3.938 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3453, allocations: 203.3 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3453, allocations: 15.89 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3453, allocations: 0 / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.3454, allocations: 7.984 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3454, allocations: 7.984 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3455, allocations: 4 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.704e-05/0.3455, allocations: 95.27 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3455, allocations: 0 / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3458, allocations: 16 kB / 0.5658 GB, free: 14.61 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.0006541/0.3464, allocations: 0.7357 MB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3467, allocations: 67.89 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3467, allocations: 0 / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3468, allocations: 31.97 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.347, allocations: 8 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3489, allocations: 1.516 MB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.182e-05/0.349, allocations: 81.33 kB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.349, allocations: 12.42 kB / 0.5682 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.3491, allocations: 23.44 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3491, allocations: 0 / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.3782, allocations: 2.542 MB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 11.86 kB / 0.5707 GB, free: 9.582 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.452699054032564]