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.002053/0.002053, 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 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.002647/0.002647, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.56/1.56, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2316/0.2316, allocations: 46.96 MB / 361.7 MB, free: 4.133 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="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.00317/0.00317, allocations: 63.91 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3523, allocations: 66.03 MB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003085/0.3553, allocations: 1.649 MB / 0.563 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.3557, allocations: 75.69 kB / 0.563 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.3558, allocations: 3.938 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.3558, allocations: 11.86 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.3559, allocations: 11.88 kB / 0.5631 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3561, allocations: 31.97 kB / 0.5631 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3562, allocations: 79.77 kB / 0.5632 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3564, allocations: 43.52 kB / 0.5632 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3565, allocations: 35.86 kB / 0.5632 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.3566, allocations: 43.78 kB / 0.5633 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3566, allocations: 4 kB / 0.5633 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.3566, allocations: 8 kB / 0.5633 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.3567, allocations: 19.92 kB / 0.5633 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.3567, allocations: 31.8 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.3569, allocations: 83.47 kB / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3569, allocations: 0 / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3569, allocations: 0 / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3569, allocations: 0 / 0.5634 GB, free: 2.117 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.0006611/0.3576, allocations: 322.2 kB / 0.5637 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3576, allocations: 16.03 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.3576, allocations: 384 / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.3577, allocations: 42.73 kB / 0.5638 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3577, allocations: 12.84 kB / 0.5638 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.358, allocations: 154.3 kB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.358, allocations: 4.562 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3581, allocations: 16.12 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3583, allocations: 122.3 kB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3584, allocations: 3.938 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3584, allocations: 0 / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3584, allocations: 4 kB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.3586, allocations: 79.83 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.3593, allocations: 399.8 kB / 0.5645 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.3595, allocations: 82.52 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3596, allocations: 32.88 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3596, allocations: 3.938 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3597, allocations: 34.56 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3597, allocations: 0 / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005115/0.3602, allocations: 125.8 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3602, allocations: 51.41 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3604, allocations: 133.1 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3604, allocations: 29.7 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.3605, allocations: 112.2 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3605, allocations: 23.8 kB / 0.5651 GB, free: 172 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3606, allocations: 21.72 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3607, allocations: 326.8 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3608, allocations: 23.92 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.361, allocations: 45.69 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3612, allocations: 77.73 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3612, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002651/0.3614, allocations: 113.8 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3615, allocations: 4 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3615, allocations: 0 / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3615, allocations: 0 / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3616, allocations: 23.98 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3616, allocations: 8.094 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.3617, allocations: 19.92 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3617, allocations: 0 / 0.5658 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 9.417e-05/0.3618, allocations: 121.7 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3618, allocations: 7.953 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.3621, allocations: 110.3 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3621, allocations: 0 / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3621, allocations: 4 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3621, allocations: 4 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3623, allocations: 168.8 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3623, allocations: 0 / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.3624, allocations: 23.86 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3624, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3624, allocations: 8 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3624, allocations: 0 / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3624, allocations: 0 / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3627, allocations: 199.4 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3628, allocations: 15.95 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3628, allocations: 0 / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3629, allocations: 7.984 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3629, allocations: 7.984 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3629, allocations: 4 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.363, allocations: 99.2 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3632, allocations: 16 kB / 0.5665 GB, free: 14.62 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.0007821/0.364, allocations: 0.7357 MB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.3643, allocations: 67.89 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3643, allocations: 0 / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3644, allocations: 31.97 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3647, allocations: 8 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3666, allocations: 1.51 MB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.918e-05/0.3667, allocations: 85.31 kB / 0.5689 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.3668, allocations: 12.42 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.3668, allocations: 27.44 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3668, allocations: 0 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.3884, allocations: 2.206 MB / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 10.73 kB / 0.5711 GB, free: 9.945 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: 15.234903489938006]