Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 86.31 kB / 16.31 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 179.7 kB / 17.21 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 5.188 kB / 300.8 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 50.43 MB / 351.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002225/0.1555, allocations: 1.315 MB / 352.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.157, allocations: 0.5886 MB / 353.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1572, allocations: 0 / 353.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1575, allocations: 39.84 kB / 353.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1577, allocations: 27.86 kB / 353.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1591, allocations: 498.5 kB / 353.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.1593, allocations: 95.73 kB / 353.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1595, allocations: 29.02 kB / 353.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1598, allocations: 55.77 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.16, allocations: 71.67 kB / 353.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.16, allocations: 4 kB / 354 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.1604, allocations: 131.8 kB / 354.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.1604, allocations: 31.89 kB / 354.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1605, allocations: 37.64 kB / 354.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1608, allocations: 143.7 kB / 354.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1608, allocations: 7.938 kB / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1608, allocations: 0 / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1608, allocations: 4 kB / 354.3 MB, free: 0.707 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001589/0.1624, allocations: 0.5419 MB / 354.8 MB, free: 120 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1625, allocations: 8.031 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1637, allocations: 167.6 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.164, allocations: 188 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.164, allocations: 12 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.1641, allocations: 15.88 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1646, allocations: 192.3 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1646, allocations: 0 / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1646, allocations: 4 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.1647, allocations: 7.984 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.1651, allocations: 183.9 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1662, allocations: 0.5314 MB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.1666, allocations: 182.5 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.1669, allocations: 108.7 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1669, allocations: 0 / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.167, allocations: 38.56 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.167, allocations: 0 / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.000748/0.1677, allocations: 301.4 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1678, allocations: 51.41 kB / 356.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.168, allocations: 180.3 kB / 357 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.168, allocations: 29.7 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.1681, allocations: 115.9 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1682, allocations: 47.3 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.1682, allocations: 4 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1683, allocations: 326.8 kB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1685, allocations: 83.88 kB / 357.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1687, allocations: 103.4 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.169, allocations: 91.2 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.169, allocations: 3.938 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005019/0.1695, allocations: 241.5 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1695, allocations: 4 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1695, allocations: 4 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1696, allocations: 0 / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1698, allocations: 43.91 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1698, allocations: 7.891 kB / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.17, allocations: 23.83 kB / 358.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.17, allocations: 12.06 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.1701, allocations: 129.8 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1702, allocations: 15.81 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.1708, allocations: 281.9 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1709, allocations: 0 / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1709, allocations: 4 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1709, allocations: 0 / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1712, allocations: 285.3 kB / 358.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1713, allocations: 4 kB / 358.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.1715, allocations: 43.91 kB / 358.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1715, allocations: 0 / 358.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1715, allocations: 12 kB / 358.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1715, allocations: 0 / 358.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1716, allocations: 3.984 kB / 358.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1721, allocations: 347.2 kB / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1722, allocations: 92.86 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.1723, allocations: 4 kB / 359.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1724, allocations: 11.98 kB / 359.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.1725, allocations: 15.98 kB / 359.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1725, allocations: 7.984 kB / 359.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1726, allocations: 135.9 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.173, allocations: 24 kB / 359.5 MB, free: 11.19 MB / 302.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.1731, allocations: 111.2 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.1737, allocations: 203.9 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1737, allocations: 0 / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.1739, allocations: 110.3 kB / 359.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1743, allocations: 19.98 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.1752, allocations: 378.3 kB / 360.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1756, allocations: 0.7283 MB / 361 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.1758, allocations: 33.41 kB / 361 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.1759, allocations: 27.36 kB / 361.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1759, allocations: 3.938 kB / 361.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of Templates: time 0.005841/0.1817, allocations: 1.856 MB / 362.9 MB, free: 7.695 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches