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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 175 kB / 16.72 MB, free: 5.082 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.355/1.355, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007212/0.0007212, allocations: 85 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 327.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001354/0.2035, allocations: 1.277 MB / 376.5 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.2044, allocations: 0.6418 MB / 377.1 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.2045, allocations: 2.281 kB / 377.1 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2047, allocations: 28.58 kB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2048, allocations: 30.03 kB / 377.2 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.2057, allocations: 0.5063 MB / 377.7 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2059, allocations: 91.06 kB / 377.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.206, allocations: 27.47 kB / 377.8 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2061, allocations: 53.34 kB / 377.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2062, allocations: 70.98 kB / 377.9 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2063, allocations: 4.406 kB / 377.9 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.2065, allocations: 131.2 kB / 378 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.2065, allocations: 32.53 kB / 378.1 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.2066, allocations: 72.08 kB / 378.1 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2068, allocations: 140.8 kB / 378.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2068, allocations: 5.109 kB / 378.3 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2068, allocations: 0 / 378.3 MB, free: 43.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2068, allocations: 0 / 378.3 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.001286/0.2081, allocations: 0.5435 MB / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2081, allocations: 8.312 kB / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2082, allocations: 51.11 kB / 378.9 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.2095, allocations: 168 kB / 379 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2096, allocations: 195 kB / 379.2 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2096, allocations: 8.75 kB / 379.2 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2097, allocations: 14.44 kB / 379.3 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.21, allocations: 194.2 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.21, allocations: 0 / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.2101, allocations: 1.031 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2101, allocations: 5.469 kB / 379.5 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.2105, allocations: 189.3 kB / 379.6 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.2113, allocations: 0.5379 MB / 380.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2117, allocations: 185.2 kB / 380.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.2119, allocations: 103.1 kB / 380.5 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.212, allocations: 5.703 kB / 380.5 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.212, allocations: 40.34 kB / 380.5 MB, free: 41.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.212, allocations: 0 / 380.5 MB, free: 41.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007101/0.2127, allocations: 294.9 kB / 380.8 MB, free: 41.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.2127, allocations: 53.59 kB / 380.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2129, allocations: 189.9 kB / 381 MB, free: 41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2129, allocations: 26.73 kB / 381.1 MB, free: 40.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.213, allocations: 114 kB / 381.2 MB, free: 40.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.213, allocations: 53.39 kB / 381.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.213, allocations: 4 kB / 381.2 MB, free: 40.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.2131, allocations: 326.5 kB / 381.5 MB, free: 40.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.2133, allocations: 80.42 kB / 381.6 MB, free: 40.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2135, allocations: 105.2 kB / 381.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.2139, allocations: 199.5 kB / 381.9 MB, free: 40.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2139, allocations: 0 / 381.9 MB, free: 40.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004629/0.2144, allocations: 235.6 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2144, allocations: 11.94 kB / 382.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2144, allocations: 1.156 kB / 382.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2144, allocations: 2.594 kB / 382.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2147, allocations: 46.05 kB / 382.2 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2147, allocations: 2.875 kB / 382.2 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2148, allocations: 21.25 kB / 382.2 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2149, allocations: 12.39 kB / 382.2 MB, free: 40.09 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 8.842e-05/0.215, allocations: 131.8 kB / 382.4 MB, free: 39.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.215, allocations: 18.03 kB / 382.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.2156, allocations: 273 kB / 382.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2156, allocations: 2.781 kB / 382.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2156, allocations: 0 / 382.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2156, allocations: 9.25 kB / 382.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.2159, allocations: 280.4 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2159, allocations: 4 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.2161, allocations: 41.94 kB / 383 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2161, allocations: 5.375 kB / 383 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2161, allocations: 9.453 kB / 383 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2161, allocations: 1.438 kB / 383 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2161, allocations: 0 / 383 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.2166, allocations: 341.2 kB / 383.3 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.2167, allocations: 94.27 kB / 383.4 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2167, allocations: 12.95 kB / 383.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2169, allocations: 7.594 kB / 383.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.2169, allocations: 18.19 kB / 383.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.217, allocations: 12.03 kB / 383.5 MB, free: 39.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.2171, allocations: 136.7 kB / 383.6 MB, free: 39.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2171, allocations: 0 / 383.6 MB, free: 39.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.2174, allocations: 26.84 kB / 383.6 MB, free: 39.01 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.0006688/0.218, allocations: 0.8865 MB / 384.5 MB, free: 38.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.2185, allocations: 196.4 kB / 384.7 MB, free: 38.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2185, allocations: 1.031 kB / 384.7 MB, free: 38.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.2187, allocations: 114 kB / 384.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.219, allocations: 16.56 kB / 384.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.2207, allocations: 1.118 MB / 386 MB, free: 37.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2208, allocations: 0.7265 MB / 386.7 MB, free: 36.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2209, allocations: 54.88 kB / 386.7 MB, free: 36.52 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.221, allocations: 4 kB / 386.7 MB, free: 36.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/2.763, allocations: 2.418 MB / 389.2 MB, free: 34.27 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > 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/jenkins1/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