Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 191.7 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007706/0.0007708, allocations: 96.56 kB / 296.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002284, allocations: 8 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2279, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001386/0.2293, allocations: 1.328 MB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.2303, allocations: 0.6924 MB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.2303, allocations: 0 / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2305, allocations: 39.84 kB / 410.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2307, allocations: 18.7 kB / 410.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.2314, allocations: 419.3 kB / 410.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2315, allocations: 91.69 kB / 410.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2316, allocations: 31.84 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.2317, allocations: 43.78 kB / 410.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.2319, allocations: 79.66 kB / 410.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.232, allocations: 8 kB / 410.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.2322, allocations: 119.9 kB / 411 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.2322, allocations: 28.73 kB / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.2323, allocations: 69.42 kB / 411.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2325, allocations: 137.9 kB / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2325, allocations: 0 / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2325, allocations: 0 / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2325, allocations: 0 / 411.2 MB, free: 24.59 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.001108/0.2336, allocations: 0.5067 MB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2337, allocations: 11.03 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.2337, allocations: 42.75 kB / 411.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005546/0.2343, allocations: 104.6 kB / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2344, allocations: 198.4 kB / 412.1 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2344, allocations: 8.375 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.2344, allocations: 12.38 kB / 412.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.2348, allocations: 174.7 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2348, allocations: 0 / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2348, allocations: 4 kB / 412.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2349, allocations: 11.98 kB / 412.3 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.2352, allocations: 179.8 kB / 412.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.2361, allocations: 0.5626 MB / 413 MB, free: 22.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.2364, allocations: 158.7 kB / 413.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2366, allocations: 86.67 kB / 413.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2367, allocations: 3.938 kB / 413.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2367, allocations: 42.48 kB / 413.3 MB, free: 22.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/0.2367, allocations: 3.984 kB / 413.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006003/0.2373, allocations: 249.5 kB / 413.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.2373, allocations: 55.34 kB / 413.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2375, allocations: 195.2 kB / 413.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2375, allocations: 25.7 kB / 413.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2375, allocations: 116.2 kB / 413.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2376, allocations: 43.36 kB / 414 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.2376, allocations: 4 kB / 414 MB, free: 21.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.2376, allocations: 326.8 kB / 414.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2378, allocations: 67.95 kB / 414.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.238, allocations: 110 kB / 414.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.2383, allocations: 185 kB / 414.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2383, allocations: 0 / 414.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003968/0.2387, allocations: 225.3 kB / 414.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2388, allocations: 4 kB / 414.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2388, allocations: 4 kB / 414.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2388, allocations: 0 / 414.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.239, allocations: 35.97 kB / 414.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.239, allocations: 0 / 414.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2391, allocations: 27.95 kB / 414.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2391, allocations: 8 kB / 414.9 MB, free: 20.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * 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.179e-05/0.2392, allocations: 137.7 kB / 415.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.2392, allocations: 19.75 kB / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.2397, allocations: 210.3 kB / 415.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2397, allocations: 4 kB / 415.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2397, allocations: 0 / 415.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2397, allocations: 7.984 kB / 415.3 MB, free: 20.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.2399, allocations: 253.4 kB / 415.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2399, allocations: 8.016 kB / 415.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2401, allocations: 27.92 kB / 415.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2401, allocations: 0 / 415.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2401, allocations: 4 kB / 415.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2401, allocations: 8 kB / 415.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2401, allocations: 0 / 415.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.2405, allocations: 283.4 kB / 415.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.2406, allocations: 100.8 kB / 416 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2406, allocations: 0 / 416 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2407, allocations: 15.98 kB / 416 MB, free: 19.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.2408, allocations: 11.92 kB / 416 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2408, allocations: 4 kB / 416 MB, free: 19.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.2409, allocations: 139.2 kB / 416.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2409, allocations: 0 / 416.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.2411, allocations: 24 kB / 416.2 MB, free: 19.27 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 (12): * Single equations (assignments): 11 * 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.0005897/0.2417, allocations: 0.8293 MB / 417 MB, free: 18.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.2421, allocations: 164 kB / 417.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2421, allocations: 4.062 kB / 417.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2423, allocations: 78.58 kB / 417.2 MB, free: 18.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.2426, allocations: 15.98 kB / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.244, allocations: 1.076 MB / 418.3 MB, free: 17.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2442, allocations: 0.7165 MB / 419 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.2443, allocations: 47.41 kB / 419.1 MB, free: 16.23 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2443, allocations: 0 / 419.1 MB, free: 16.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/2.803, allocations: 2.281 MB / 421.4 MB, free: 13.94 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches