Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003409/0.3002, allocations: 1.708 MB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3019, allocations: 0.7632 MB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.302, allocations: 4 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3023, allocations: 47.73 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.3026, allocations: 39.64 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3037, allocations: 0.4941 MB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.304, allocations: 131.5 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3042, allocations: 29.53 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3043, allocations: 63.72 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3046, allocations: 87.66 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3047, allocations: 8 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.305, allocations: 131.8 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.305, allocations: 35.84 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.3051, allocations: 55.61 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.3055, allocations: 202.3 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3056, allocations: 3.938 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3056, allocations: 0 / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3056, allocations: 0 / 412.6 MB, free: 13.72 MB / 334.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.001491/0.3071, allocations: 0.5375 MB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3071, allocations: 8.031 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.3072, allocations: 38.75 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.3079, allocations: 116.7 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.3081, allocations: 196.1 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3082, allocations: 8.375 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3082, allocations: 8.375 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.3086, allocations: 168.8 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3086, allocations: 0 / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3087, allocations: 4 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.3087, allocations: 8 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.3092, allocations: 155.9 kB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3103, allocations: 0.5587 MB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.3107, allocations: 146.6 kB / 414.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3109, allocations: 72.8 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.311, allocations: 0 / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.311, allocations: 38.69 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.186e-06/0.311, allocations: 3.938 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006704/0.3117, allocations: 221.4 kB / 414.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3118, allocations: 51.41 kB / 414.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.312, allocations: 210.8 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3121, allocations: 29.7 kB / 415.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3122, allocations: 116.2 kB / 415.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.3122, allocations: 35.69 kB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.3123, allocations: 33.7 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3125, allocations: 330.8 kB / 415.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3127, allocations: 55.95 kB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3129, allocations: 87.75 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.3133, allocations: 160.2 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3133, allocations: 0 / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004849/0.3138, allocations: 197.4 kB / 416.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3138, allocations: 8 kB / 416.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3138, allocations: 4 kB / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3138, allocations: 0 / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.314, allocations: 36.44 kB / 416.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.314, allocations: 0 / 416.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3142, allocations: 23.84 kB / 416.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3142, allocations: 7.984 kB / 416.2 MB, free: 9.836 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001418/0.3144, allocations: 145.6 kB / 416.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3144, allocations: 23.83 kB / 416.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3149, allocations: 178.9 kB / 416.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3149, allocations: 0 / 416.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3149, allocations: 0 / 416.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3149, allocations: 3.984 kB / 416.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.3153, allocations: 249.5 kB / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3153, allocations: 0 / 416.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3155, allocations: 31.91 kB / 416.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3155, allocations: 4 kB / 416.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3155, allocations: 4 kB / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3155, allocations: 0 / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3155, allocations: 0 / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.316, allocations: 267.2 kB / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3161, allocations: 105 kB / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3161, allocations: 4 kB / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3163, allocations: 7.984 kB / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3163, allocations: 11.98 kB / 417.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3164, allocations: 4 kB / 417.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3165, allocations: 160.8 kB / 417.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3166, allocations: 0 / 417.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3168, allocations: 31.89 kB / 417.4 MB, free: 8.523 MB / 334.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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009173/0.3178, allocations: 0.8021 MB / 418.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.3182, allocations: 135.8 kB / 418.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3182, allocations: 0 / 418.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3184, allocations: 72.22 kB / 418.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3187, allocations: 16.16 kB / 418.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.3221, allocations: 2.139 MB / 420.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.3227, allocations: 0.7278 MB / 421.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.3228, allocations: 33.59 kB / 421.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.323, allocations: 47.41 kB / 421.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.323, allocations: 7.875 kB / 421.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.3801, allocations: 3.425 MB / 424.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/9.453, allocations: 12 kB / 424.8 MB, free: 1.055 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches