Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001266/0.001266, allocations: 124.5 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.001369/0.001369, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1624, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003704/0.1661, allocations: 1.513 MB / 427.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1673, allocations: 0.5064 MB / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.1674, allocations: 0 / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.1674, allocations: 3.938 kB / 428.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1675, allocations: 27.78 kB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1678, allocations: 35.91 kB / 428.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.168, allocations: 71.7 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.168, allocations: 192 / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1682, allocations: 47.78 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1683, allocations: 27.91 kB / 428.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1684, allocations: 7.984 kB / 428.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.1684, allocations: 12 kB / 428.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.1685, allocations: 15.92 kB / 428.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1685, allocations: 27.86 kB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1687, allocations: 59.73 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1687, allocations: 4 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1687, allocations: 0 / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1687, allocations: 0 / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008849/0.1696, allocations: 395.1 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.1697, allocations: 8.031 kB / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.1697, allocations: 38.69 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.1702, allocations: 40.8 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1705, allocations: 184.2 kB / 429.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1705, allocations: 384 / 429.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1705, allocations: 4.375 kB / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1709, allocations: 92.14 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1709, allocations: 0 / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1709, allocations: 4 kB / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1709, allocations: 0 / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1713, allocations: 63.88 kB / 429.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1716, allocations: 183.5 kB / 429.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.172, allocations: 103.8 kB / 429.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1722, allocations: 42.55 kB / 429.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1722, allocations: 11.94 kB / 429.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1723, allocations: 38.5 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.1723, allocations: 0 / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007524/0.173, allocations: 145.8 kB / 430 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.1731, allocations: 106.8 kB / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1733, allocations: 124 kB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1733, allocations: 25.7 kB / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.1734, allocations: 96.12 kB / 430.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1734, allocations: 7.906 kB / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.1735, allocations: 25.7 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1737, allocations: 326.9 kB / 430.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1739, allocations: 31.95 kB / 430.7 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1741, allocations: 50.53 kB / 430.8 MB, free: 32 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.1745, allocations: 82.52 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1745, allocations: 0 / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004599/0.1749, allocations: 121.5 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.175, allocations: 4 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.175, allocations: 3.938 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.175, allocations: 0 / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1752, allocations: 19.98 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1752, allocations: 0 / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1754, allocations: 15.98 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1754, allocations: 3.984 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001342/0.1755, allocations: 117.9 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1755, allocations: 15.83 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1756, allocations: 11.88 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1756, allocations: 4 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1756, allocations: 0 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1756, allocations: 3.984 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1758, allocations: 177.6 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1758, allocations: 0 / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.176, allocations: 15.98 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.176, allocations: 8 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.176, allocations: 3.984 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.176, allocations: 3.938 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.176, allocations: 0 / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.1765, allocations: 150.7 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1766, allocations: 85 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1766, allocations: 4 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1768, allocations: 7.984 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.1768, allocations: 7.984 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1768, allocations: 4 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.177, allocations: 101.8 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 7.938 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1773, allocations: 8 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0009538/0.1782, allocations: 0.6765 MB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.1787, allocations: 71.86 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1787, allocations: 0 / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.1789, allocations: 48.22 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1792, allocations: 0 / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1823, allocations: 1.471 MB / 434 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.1828, allocations: 0.6884 MB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.1828, allocations: 12.2 kB / 434.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.1829, allocations: 23.42 kB / 434.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1829, allocations: 0 / 434.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2124, allocations: 1.746 MB / 436.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.219, allocations: 2.969 kB / 436.5 MB, free: 10.11 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.17866661401058]