Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001382/0.001382, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 48.27 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.08036, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002552/0.08294, allocations: 1.635 MB / 328.3 MB, free: 3.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.08398, allocations: 0.6866 MB / 329 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.08403, allocations: 7.875 kB / 329 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.08425, allocations: 43.84 kB / 329.1 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.08438, allocations: 23.86 kB / 329.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.08542, allocations: 0.5918 MB / 329.7 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.08555, allocations: 95.75 kB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.08565, allocations: 33.05 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.08578, allocations: 59.7 kB / 329.9 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.08593, allocations: 83.66 kB / 329.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.08596, allocations: 4 kB / 329.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.08614, allocations: 131.8 kB / 330.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.08621, allocations: 39.89 kB / 330.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.08628, allocations: 59.59 kB / 330.2 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.08654, allocations: 215.6 kB / 330.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.08655, allocations: 0 / 330.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.08656, allocations: 0 / 330.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.08656, allocations: 4 kB / 330.4 MB, free: 1.078 MB / 270.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.001386/0.08796, allocations: 0.5575 MB / 330.9 MB, free: 484 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.088, allocations: 8.031 kB / 331 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.08804, allocations: 42.73 kB / 331 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.08941, allocations: 176.5 kB / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.08953, allocations: 196 kB / 331.4 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.08955, allocations: 8.375 kB / 331.4 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.08959, allocations: 8.453 kB / 331.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.08995, allocations: 189.6 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.08997, allocations: 0 / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.08999, allocations: 0 / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.09001, allocations: 8 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.09041, allocations: 179.8 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.09121, allocations: 0.543 MB / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.09157, allocations: 174.5 kB / 332.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.09179, allocations: 100.8 kB / 332.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.09182, allocations: 4 kB / 332.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.09184, allocations: 38.55 kB / 332.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.09185, allocations: 0 / 332.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006511/0.09251, allocations: 281.4 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.09254, allocations: 55.41 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.09268, allocations: 187.3 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.09272, allocations: 25.7 kB / 333.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.09278, allocations: 107.9 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.09283, allocations: 59.19 kB / 333.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.09289, allocations: 33.7 kB / 333.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.09299, allocations: 330.8 kB / 333.7 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.09318, allocations: 71.94 kB / 333.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.09338, allocations: 100.8 kB / 333.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.09377, allocations: 195.4 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09378, allocations: 4 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004653/0.09425, allocations: 217.4 kB / 334.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.09428, allocations: 11.88 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.09429, allocations: 8.094 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.0943, allocations: 0 / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.09452, allocations: 35.97 kB / 334.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.09454, allocations: 4 kB / 334.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.09468, allocations: 19.73 kB / 334.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.09471, allocations: 11.98 kB / 334.3 MB, free: 12.89 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/0.09481, allocations: 133.8 kB / 334.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.09486, allocations: 15.84 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.09541, allocations: 270.9 kB / 334.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.09543, allocations: 0 / 334.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09544, allocations: 0 / 334.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09545, allocations: 3.938 kB / 334.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.09571, allocations: 281.4 kB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.09572, allocations: 4 kB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.09594, allocations: 39.91 kB / 335 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.09596, allocations: 7.938 kB / 335.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.09598, allocations: 11.98 kB / 335.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.09598, allocations: 0 / 335.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09599, allocations: 3.938 kB / 335.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.0965, allocations: 331.2 kB / 335.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.09656, allocations: 96.84 kB / 335.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.09659, allocations: 7.938 kB / 335.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.09677, allocations: 11.98 kB / 335.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.09683, allocations: 19.91 kB / 335.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.09685, allocations: 8 kB / 335.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.518e-05/0.09695, allocations: 135.9 kB / 335.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09696, allocations: 0 / 335.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.09722, allocations: 28 kB / 335.7 MB, free: 11.41 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007305/0.09796, allocations: 0.8722 MB / 336.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.09839, allocations: 188.5 kB / 336.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0984, allocations: 0 / 336.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.09862, allocations: 115.8 kB / 336.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.09889, allocations: 15.44 kB / 336.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.1014, allocations: 2.214 MB / 339.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1017, allocations: 0.7321 MB / 339.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1018, allocations: 25.42 kB / 339.9 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1019, allocations: 55.41 kB / 339.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1019, allocations: 0 / 339.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.1134, allocations: 3.631 MB / 343.5 MB, free: 3.391 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.1136, allocations: 209.5 kB / 343.7 MB, free: 3.129 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.822, allocations: 0 / 343.7 MB, free: 3.129 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches