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.001713/0.001713, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002201/0.002201, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2364/0.2364, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.002011/0.002011, allocations: 67.91 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1467, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.0034/0.1501, allocations: 1.68 MB / 0.557 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.1504, allocations: 85.33 kB / 0.5571 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1505, allocations: 7.938 kB / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.977e-05/0.1505, allocations: 7.875 kB / 0.5571 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.1506, allocations: 11.88 kB / 0.5571 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.1508, allocations: 27.97 kB / 0.5571 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1509, allocations: 79.77 kB / 0.5572 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1511, allocations: 41.3 kB / 0.5573 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.1512, allocations: 39.84 kB / 0.5573 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.1512, allocations: 35.78 kB / 0.5573 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1513, allocations: 8 kB / 0.5573 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.1513, allocations: 12 kB / 0.5573 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.1513, allocations: 19.92 kB / 0.5574 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.1514, allocations: 35.73 kB / 0.5574 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1515, allocations: 79.59 kB / 0.5575 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1515, allocations: 0 / 0.5575 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1515, allocations: 3.938 kB / 0.5575 GB, free: 3.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1515, allocations: 0 / 0.5575 GB, free: 3.695 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.0006701/0.1522, allocations: 403.2 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1522, allocations: 8.031 kB / 0.5579 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.1523, allocations: 46.73 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1523, allocations: 12.84 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1527, allocations: 208.1 kB / 0.5581 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1527, allocations: 8.562 kB / 0.5581 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1527, allocations: 12.38 kB / 0.5581 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.153, allocations: 115.5 kB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.153, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.153, allocations: 4 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.153, allocations: 4 kB / 0.5583 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1533, allocations: 79.83 kB / 0.5583 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.154, allocations: 452.7 kB / 0.5588 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1542, allocations: 78.45 kB / 0.5588 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1543, allocations: 32.88 kB / 0.5589 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1544, allocations: 0 / 0.5589 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1544, allocations: 34.56 kB / 0.5589 GB, free: 2.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1544, allocations: 4 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004596/0.1549, allocations: 133.8 kB / 0.559 GB, free: 1.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1549, allocations: 51.41 kB / 0.5591 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.155, allocations: 132.1 kB / 0.5592 GB, free: 1.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1551, allocations: 25.7 kB / 0.5592 GB, free: 1.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.1552, allocations: 112.2 kB / 0.5593 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1552, allocations: 31.73 kB / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1552, allocations: 21.72 kB / 0.5594 GB, free: 1.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1554, allocations: 318.8 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1555, allocations: 23.98 kB / 0.5597 GB, free: 1.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1556, allocations: 53.56 kB / 0.5598 GB, free: 1.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1558, allocations: 73.67 kB / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.1558, allocations: 7.938 kB / 0.5599 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00027/0.1561, allocations: 109.5 kB / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1561, allocations: 5.875 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1561, allocations: 4 kB / 0.56 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1561, allocations: 3.938 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1563, allocations: 24.02 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1563, allocations: 0 / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.1563, allocations: 11.92 kB / 0.56 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1564, allocations: 4 kB / 0.56 GB, free: 0.8438 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.0001024/0.1565, allocations: 124 kB / 0.5601 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1565, allocations: 7.953 kB / 0.5601 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.1568, allocations: 114.3 kB / 0.5602 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1568, allocations: 3.984 kB / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1568, allocations: 0 / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1569, allocations: 0 / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1571, allocations: 197.5 kB / 0.5604 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1571, allocations: 3.984 kB / 0.5604 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.1572, allocations: 19.98 kB / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1572, allocations: 0 / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1572, allocations: 0 / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1572, allocations: 0 / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1572, allocations: 0 / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.1575, allocations: 211.3 kB / 0.5607 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.1576, allocations: 85.25 kB / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1576, allocations: 3.984 kB / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.1577, allocations: 4 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1578, allocations: 3.984 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1578, allocations: 8 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.1579, allocations: 99.27 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1581, allocations: 19.94 kB / 0.5609 GB, free: 15.85 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.0006799/0.1588, allocations: 0.7283 MB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1591, allocations: 75.94 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1591, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1592, allocations: 35.97 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1595, allocations: 8.188 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1614, allocations: 1.519 MB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1618, allocations: 0.6963 MB / 0.5639 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.1618, allocations: 12.42 kB / 0.5639 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.1619, allocations: 23.44 kB / 0.5639 GB, free: 12.62 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1619, allocations: 0 / 0.5639 GB, free: 12.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.186, allocations: 1.989 MB / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.994, allocations: 9.812 kB / 0.5659 GB, free: 10.7 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable oneExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable oneExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable zeroExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable zeroExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable sqrtExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable sqrtExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.27684150999994]