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.001597/0.001597, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00209/0.00209, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.67/1.67, 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.2559/0.2559, allocations: 46.92 MB / 357.1 MB, free: 10.31 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: translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.91 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 65.98 MB / 0.5558 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003361/0.1644, allocations: 1.696 MB / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.1647, allocations: 77.34 kB / 0.5576 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.1647, allocations: 4 kB / 0.5576 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.1648, allocations: 19.8 kB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.1648, allocations: 7.875 kB / 0.5576 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.165, allocations: 31.97 kB / 0.5576 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1652, allocations: 75.81 kB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1653, allocations: 41.36 kB / 0.5577 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.1654, allocations: 35.8 kB / 0.5578 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.1655, allocations: 39.78 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1655, allocations: 8 kB / 0.5578 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1655, allocations: 8 kB / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.1656, allocations: 19.92 kB / 0.5579 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.1656, allocations: 47.66 kB / 0.5579 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1658, allocations: 71.66 kB / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1658, allocations: 0 / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1658, allocations: 0 / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1658, allocations: 3.938 kB / 0.558 GB, free: 3.172 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.000639/0.1664, allocations: 407.1 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1665, allocations: 12.03 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1665, allocations: 12.84 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1668, allocations: 208.2 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1668, allocations: 8.562 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1668, allocations: 8.375 kB / 0.5586 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1671, allocations: 123.6 kB / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.1671, allocations: 0 / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1672, allocations: 8 kB / 0.5587 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1672, allocations: 4 kB / 0.5587 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.1674, allocations: 71.89 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.1681, allocations: 444.8 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1683, allocations: 82.42 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1684, allocations: 36.86 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1685, allocations: 0 / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1685, allocations: 34.56 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1685, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004633/0.169, allocations: 129.8 kB / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.169, allocations: 51.41 kB / 0.5595 GB, free: 1.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1691, allocations: 126.1 kB / 0.5597 GB, free: 1.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1692, allocations: 29.7 kB / 0.5597 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.1692, allocations: 108.2 kB / 0.5598 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1693, allocations: 35.8 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1693, allocations: 21.72 kB / 0.5598 GB, free: 1.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1695, allocations: 322.8 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1696, allocations: 27.97 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1697, allocations: 37.7 kB / 0.5602 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1699, allocations: 77.67 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1699, allocations: 0 / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002821/0.1702, allocations: 109.5 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1702, allocations: 4 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1702, allocations: 4.188 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1702, allocations: 3.984 kB / 0.5604 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1704, allocations: 27.86 kB / 0.5604 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1704, allocations: 3.938 kB / 0.5604 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.1705, allocations: 11.97 kB / 0.5604 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1705, allocations: 4 kB / 0.5604 GB, free: 388 kB / 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.626e-05/0.1706, allocations: 120 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1706, allocations: 11.94 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1709, allocations: 106.8 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1709, allocations: 4 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1709, allocations: 3.938 kB / 0.5607 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1709, allocations: 4 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1712, allocations: 209.5 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1712, allocations: 0 / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.1713, allocations: 15.98 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1713, allocations: 7.984 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1713, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1713, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1713, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1716, allocations: 207.5 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.1717, allocations: 81.06 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1717, allocations: 8 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.1718, allocations: 11.92 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.1718, allocations: 0 / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1718, allocations: 4 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1719, allocations: 101.7 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1719, allocations: 4 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1722, allocations: 15.94 kB / 0.5613 GB, free: 15.38 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.0001175/0.1723, allocations: 99.23 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.1726, allocations: 71.88 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1726, allocations: 0 / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1727, allocations: 31.97 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1729, allocations: 16 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.1734, allocations: 186 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1738, allocations: 0.7002 MB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1738, allocations: 8.438 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1738, allocations: 11.44 kB / 0.5624 GB, free: 14.21 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1738, allocations: 4 kB / 0.5624 GB, free: 14.2 MB / 430.1 MB Notification: Performance of Templates: time 0.003641/0.1775, allocations: 0.707 MB / 0.5631 GB, free: 13.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins/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: 5.61568895727396]