Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 92.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001643/0.2148, allocations: 1.275 MB / 375.8 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2159, allocations: 0.6387 MB / 376.5 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.216, allocations: 2.438 kB / 376.5 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.2162, allocations: 32.98 kB / 376.5 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2164, allocations: 26.59 kB / 376.5 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.2174, allocations: 0.4962 MB / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2176, allocations: 91.48 kB / 377.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2177, allocations: 30.89 kB / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2179, allocations: 50.59 kB / 377.2 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.218, allocations: 73.92 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.2181, allocations: 8.844 kB / 377.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.2183, allocations: 130.5 kB / 377.4 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.2184, allocations: 29 kB / 377.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.2184, allocations: 42.83 kB / 377.5 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.2187, allocations: 140.6 kB / 377.6 MB, free: 43.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2187, allocations: 0 / 377.6 MB, free: 43.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2187, allocations: 1.062 kB / 377.6 MB, free: 43.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2187, allocations: 0 / 377.6 MB, free: 43.15 MB / 298.7 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.001501/0.2202, allocations: 0.5476 MB / 378.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2203, allocations: 8.25 kB / 378.2 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.2216, allocations: 175.8 kB / 378.3 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2218, allocations: 184.8 kB / 378.5 MB, free: 42.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2218, allocations: 8.531 kB / 378.5 MB, free: 42.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.2218, allocations: 14.45 kB / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.2222, allocations: 194.2 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2223, allocations: 0 / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2223, allocations: 9.078 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.2223, allocations: 5.062 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.2227, allocations: 185 kB / 378.9 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.2237, allocations: 0.5461 MB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2241, allocations: 183.3 kB / 379.6 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.2243, allocations: 105.7 kB / 379.7 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.2244, allocations: 1.312 kB / 379.7 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2244, allocations: 35.72 kB / 379.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.2244, allocations: 0 / 379.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007507/0.2251, allocations: 294.8 kB / 380.1 MB, free: 41.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2252, allocations: 52.75 kB / 380.1 MB, free: 41.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2253, allocations: 186.9 kB / 380.3 MB, free: 41.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2254, allocations: 26.83 kB / 380.3 MB, free: 41.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.2254, allocations: 109.2 kB / 380.4 MB, free: 40.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.2255, allocations: 53.23 kB / 380.5 MB, free: 40.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2255, allocations: 4.875 kB / 380.5 MB, free: 40.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.2256, allocations: 330.8 kB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2258, allocations: 72.36 kB / 380.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.226, allocations: 112.6 kB / 381 MB, free: 40.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.2262, allocations: 92.92 kB / 381.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2262, allocations: 1.125 kB / 381.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005251/0.2267, allocations: 243.2 kB / 381.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2268, allocations: 5.344 kB / 381.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2268, allocations: 5.062 kB / 381.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2268, allocations: 2.312 kB / 381.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2271, allocations: 43.73 kB / 381.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2271, allocations: 1.5 kB / 381.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2272, allocations: 16.91 kB / 381.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2273, allocations: 12.52 kB / 381.4 MB, free: 40.25 MB / 298.7 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 9.123e-05/0.2274, allocations: 128.5 kB / 381.5 MB, free: 40.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2274, allocations: 18.95 kB / 381.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.228, allocations: 281.4 kB / 381.8 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2281, allocations: 1.25 kB / 381.8 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2281, allocations: 9.266 kB / 381.8 MB, free: 39.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2281, allocations: 0 / 381.8 MB, free: 39.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.2283, allocations: 284.9 kB / 382.1 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2284, allocations: 0 / 382.1 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.2286, allocations: 38.62 kB / 382.2 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.2286, allocations: 9.234 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2286, allocations: 5.312 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2286, allocations: 5.453 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2286, allocations: 0 / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.2292, allocations: 340.9 kB / 382.5 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.2292, allocations: 99.16 kB / 382.6 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2293, allocations: 4.969 kB / 382.6 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2294, allocations: 11.47 kB / 382.6 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2295, allocations: 22.27 kB / 382.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2295, allocations: 8.266 kB / 382.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.2296, allocations: 134.1 kB / 382.8 MB, free: 39.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2296, allocations: 1.094 kB / 382.8 MB, free: 39.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.2299, allocations: 30.28 kB / 382.8 MB, free: 39.16 MB / 298.7 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.0001473/0.2301, allocations: 115.6 kB / 382.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.2306, allocations: 192.5 kB / 383.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2306, allocations: 1.312 kB / 383.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.2309, allocations: 115.4 kB / 383.2 MB, free: 38.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2312, allocations: 18.77 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.2319, allocations: 392.1 kB / 383.6 MB, free: 38.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.2322, allocations: 0.7342 MB / 384.4 MB, free: 37.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.2323, allocations: 22.95 kB / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2323, allocations: 0 / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of Templates: time 0.003971/0.2363, allocations: 2.206 MB / 386.6 MB, free: 36.41 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches