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.001712/0.001712, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002217/0.002217, allocations: 212 kB / 23.74 MB, free: 4.656 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2244/0.2244, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.002146/0.002146, allocations: 75.88 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002996/0.3445, allocations: 1.699 MB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.3448, allocations: 79.61 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.3449, allocations: 3.938 kB / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.3449, allocations: 15.88 kB / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.3449, allocations: 7.875 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.3451, allocations: 31.97 kB / 0.5624 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3452, allocations: 83.81 kB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3454, allocations: 39.39 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.3454, allocations: 43.78 kB / 0.5626 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.3455, allocations: 35.78 kB / 0.5626 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3455, allocations: 4 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.3456, allocations: 8 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.3456, allocations: 23.92 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.3456, allocations: 39.73 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.3458, allocations: 83.53 kB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3458, allocations: 0 / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3458, allocations: 0 / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3458, allocations: 3.938 kB / 0.5628 GB, free: 2.266 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.0005096/0.3463, allocations: 318.2 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3463, allocations: 8.031 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.3464, allocations: 42.75 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.3464, allocations: 16.84 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3467, allocations: 146.3 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3467, allocations: 8.562 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3467, allocations: 8.375 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.347, allocations: 120.9 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.347, allocations: 4 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.347, allocations: 4 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.347, allocations: 4 kB / 0.5634 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.3472, allocations: 71.89 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.3478, allocations: 419.8 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.348, allocations: 82.41 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3481, allocations: 32.88 kB / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3482, allocations: 80 / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3482, allocations: 34.55 kB / 0.564 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/0.3482, allocations: 4 kB / 0.564 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004107/0.3486, allocations: 129.7 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3486, allocations: 55.41 kB / 0.5642 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3488, allocations: 130.1 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3488, allocations: 25.7 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.3489, allocations: 108.2 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.3489, allocations: 27.8 kB / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3489, allocations: 25.66 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3491, allocations: 322.8 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.3492, allocations: 23.98 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3493, allocations: 41.69 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3495, allocations: 77.92 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3495, allocations: 3.938 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000251/0.3497, allocations: 113.6 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3498, allocations: 4 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3498, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3498, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3499, allocations: 27.86 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3499, allocations: 4.031 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.35, allocations: 15.92 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.35, allocations: 0 / 0.5651 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.6e-05/0.3501, allocations: 117.8 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3501, allocations: 11.95 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.3504, allocations: 114.3 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3504, allocations: 0 / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3504, allocations: 8 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3504, allocations: 3.984 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3506, allocations: 176.6 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3506, allocations: 4 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.3507, allocations: 15.98 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3507, allocations: 0 / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3507, allocations: 4 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3507, allocations: 0 / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3507, allocations: 0 / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.351, allocations: 203.3 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.351, allocations: 7.953 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3511, allocations: 11.98 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.3511, allocations: 4 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.3512, allocations: 3.984 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3512, allocations: 4 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.3513, allocations: 110 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3513, allocations: 0 / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.3515, allocations: 16 kB / 0.5659 GB, free: 14.76 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.0006191/0.3521, allocations: 0.7242 MB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3524, allocations: 71.94 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3524, allocations: 0 / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3525, allocations: 43.91 kB / 0.5667 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3527, allocations: 6.656 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3546, allocations: 1.505 MB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3549, allocations: 0.6964 MB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.355, allocations: 16.36 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.355, allocations: 27.42 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.355, allocations: 0 / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.3816, allocations: 2.128 MB / 0.571 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 5.547 kB / 0.571 GB, free: 9.531 MB / 414.1 MB " [Timeout remaining time 649] (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.262191144982353]