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.001298/0.001298, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001623/0.001623, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.571/1.571, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.3244/0.3244, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.001898/0.001898, allocations: 63.89 kB / 0.4909 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1413, allocations: 65.99 MB / 0.5554 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003466/0.1447, allocations: 1.688 MB / 0.557 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.145, allocations: 81.34 kB / 0.5571 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1451, allocations: 11.88 kB / 0.5571 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.1452, allocations: 11.86 kB / 0.5571 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.1452, allocations: 11.88 kB / 0.5571 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1454, allocations: 27.97 kB / 0.5571 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1455, allocations: 79.77 kB / 0.5572 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1457, allocations: 37.36 kB / 0.5573 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.1458, allocations: 39.84 kB / 0.5573 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.1458, allocations: 35.78 kB / 0.5573 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.1459, allocations: 8 kB / 0.5573 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1459, allocations: 4 kB / 0.5573 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.1459, allocations: 15.94 kB / 0.5574 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.1459, allocations: 39.73 kB / 0.5574 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1461, allocations: 87.52 kB / 0.5575 GB, free: 3.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1461, allocations: 0 / 0.5575 GB, free: 3.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1461, allocations: 3.938 kB / 0.5575 GB, free: 3.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1461, allocations: 0 / 0.5575 GB, free: 3.715 MB / 414.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.0006264/0.1467, allocations: 399.3 kB / 0.5579 GB, free: 3.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1468, allocations: 12.03 kB / 0.5579 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.1468, allocations: 34.75 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1469, allocations: 16.84 kB / 0.5579 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1472, allocations: 224.1 kB / 0.5581 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1472, allocations: 4.562 kB / 0.5581 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1473, allocations: 8.375 kB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1476, allocations: 121.5 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1476, allocations: 4 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1476, allocations: 0 / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1476, allocations: 4 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1478, allocations: 79.83 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.1485, allocations: 444.8 kB / 0.5588 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1487, allocations: 86.45 kB / 0.5589 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1488, allocations: 32.86 kB / 0.5589 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1489, allocations: 0 / 0.5589 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1489, allocations: 34.56 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1489, allocations: 0 / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004703/0.1494, allocations: 133.7 kB / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1494, allocations: 55.41 kB / 0.5591 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1496, allocations: 130 kB / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1496, allocations: 25.7 kB / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1497, allocations: 104.3 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1497, allocations: 27.75 kB / 0.5594 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.1498, allocations: 25.7 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.15, allocations: 322.8 kB / 0.5597 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1501, allocations: 31.97 kB / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1502, allocations: 41.69 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1505, allocations: 69.69 kB / 0.5598 GB, free: 1.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1505, allocations: 11.94 kB / 0.5599 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002826/0.1508, allocations: 109.5 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1508, allocations: 5.719 kB / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1508, allocations: 0 / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1508, allocations: 7.938 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1509, allocations: 15.98 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1509, allocations: 4 kB / 0.56 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.151, allocations: 15.97 kB / 0.56 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.151, allocations: 3.984 kB / 0.56 GB, free: 0.8672 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.0001053/0.1511, allocations: 120 kB / 0.5601 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1512, allocations: 7.953 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.1515, allocations: 110.3 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1515, allocations: 0 / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1515, allocations: 4 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1515, allocations: 4 kB / 0.5602 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1518, allocations: 205.5 kB / 0.5604 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1518, allocations: 0 / 0.5604 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.1518, allocations: 19.97 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1518, allocations: 0 / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1519, allocations: 8 kB / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1519, allocations: 0 / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1519, allocations: 0 / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1522, allocations: 207.8 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1523, allocations: 81.06 kB / 0.5607 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1523, allocations: 0 / 0.5607 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.1524, allocations: 15.98 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.1524, allocations: 4.047 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1524, allocations: 4 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.1525, allocations: 105.5 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1525, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1528, allocations: 19.94 kB / 0.5609 GB, free: 15.87 MB / 430.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.0007456/0.1535, allocations: 0.7321 MB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1538, allocations: 75.94 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1538, allocations: 0 / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1539, allocations: 35.91 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1542, allocations: 8 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1563, allocations: 1.511 MB / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1566, allocations: 0.6963 MB / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.1567, allocations: 8.438 kB / 0.5639 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.1567, allocations: 31.42 kB / 0.5639 GB, free: 12.64 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1567, allocations: 0 / 0.5639 GB, free: 12.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.1855, allocations: 1.984 MB / 0.5659 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.177, allocations: 13.45 kB / 0.5659 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.416326624108478]