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.0009556/0.0009556, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.375/1.375, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007401/0.00074, allocations: 91.45 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 47.56 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001429/0.2248, allocations: 1.278 MB / 376.3 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.2258, allocations: 0.6463 MB / 377 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.2259, allocations: 1.281 kB / 377 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2261, allocations: 37.53 kB / 377 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2263, allocations: 22.11 kB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.2272, allocations: 0.4976 MB / 377.5 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2273, allocations: 95.61 kB / 377.6 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2274, allocations: 27.64 kB / 377.7 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2276, allocations: 49.08 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2277, allocations: 71.08 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.2278, allocations: 9.25 kB / 377.8 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.228, allocations: 126.2 kB / 377.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.228, allocations: 32.95 kB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.2281, allocations: 71.94 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.2283, allocations: 153.6 kB / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2283, allocations: 0 / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2283, allocations: 0 / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2283, allocations: 0 / 378.2 MB, free: 43.11 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.001387/0.2297, allocations: 0.5387 MB / 378.7 MB, free: 42.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2298, allocations: 9.469 kB / 378.7 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.231, allocations: 176.3 kB / 378.9 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2312, allocations: 193.8 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2312, allocations: 8.5 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.2312, allocations: 10.62 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.2316, allocations: 195.2 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2317, allocations: 0 / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.2317, allocations: 5.344 kB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.2317, allocations: 9.266 kB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2321, allocations: 176.3 kB / 379.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.233, allocations: 0.5461 MB / 380 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.2335, allocations: 192.7 kB / 380.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.2337, allocations: 108.4 kB / 380.3 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2337, allocations: 1.125 kB / 380.3 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2338, allocations: 31.88 kB / 380.3 MB, free: 41.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.2338, allocations: 0 / 380.3 MB, free: 41.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007263/0.2345, allocations: 299 kB / 380.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2345, allocations: 56.94 kB / 380.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2347, allocations: 186.5 kB / 380.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2347, allocations: 29.7 kB / 380.9 MB, free: 41.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.2348, allocations: 118.3 kB / 381 MB, free: 40.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2348, allocations: 53.42 kB / 381.1 MB, free: 40.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.2349, allocations: 0 / 381.1 MB, free: 40.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.2349, allocations: 330.8 kB / 381.4 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2351, allocations: 76.5 kB / 381.5 MB, free: 40.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2353, allocations: 111.8 kB / 381.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2357, allocations: 197.1 kB / 381.8 MB, free: 40.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2357, allocations: 1.656 kB / 381.8 MB, free: 40.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004639/0.2362, allocations: 239.2 kB / 382 MB, free: 40.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2362, allocations: 5.812 kB / 382 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2362, allocations: 3.938 kB / 382 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2362, allocations: 2.438 kB / 382 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2365, allocations: 42.78 kB / 382.1 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2365, allocations: 1.906 kB / 382.1 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2366, allocations: 21.8 kB / 382.1 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2367, allocations: 12.88 kB / 382.1 MB, free: 40.13 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.701e-05/0.2368, allocations: 128 kB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2368, allocations: 14.28 kB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.2374, allocations: 288.2 kB / 382.5 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.2375, allocations: 2.562 kB / 382.5 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2375, allocations: 0 / 382.5 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2375, allocations: 0 / 382.5 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2378, allocations: 281.2 kB / 382.8 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2378, allocations: 3.984 kB / 382.8 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.238, allocations: 42.12 kB / 382.8 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.238, allocations: 1.188 kB / 382.8 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.238, allocations: 13.31 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.238, allocations: 1.375 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.238, allocations: 0 / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.2385, allocations: 348.8 kB / 383.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.2386, allocations: 94.05 kB / 383.3 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2386, allocations: 4.875 kB / 383.3 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2388, allocations: 15.05 kB / 383.3 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.2388, allocations: 14.77 kB / 383.3 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.2389, allocations: 8.734 kB / 383.3 MB, free: 39.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.652e-05/0.239, allocations: 135.2 kB / 383.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.239, allocations: 3.938 kB / 383.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.2392, allocations: 26.62 kB / 383.5 MB, free: 39.05 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.0001253/0.2394, allocations: 111.5 kB / 383.6 MB, free: 38.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2398, allocations: 197.8 kB / 383.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2399, allocations: 0 / 383.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2401, allocations: 113.1 kB / 383.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.2404, allocations: 22.17 kB / 383.9 MB, free: 38.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.241, allocations: 392.7 kB / 384.3 MB, free: 38.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2411, allocations: 0.7311 MB / 385 MB, free: 37.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.2412, allocations: 23.08 kB / 385.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2412, allocations: 0 / 385.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of Templates: time 0.003368/0.2446, allocations: 2.2 MB / 387.3 MB, free: 36.12 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