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.001313/0.001313, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.001326/0.001327, allocations: 188.2 kB / 18.66 MB, free: 4.414 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.372/1.372, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001359/0.001359, allocations: 51.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09686, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003488/0.1004, allocations: 1.584 MB / 376.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.102, allocations: 0.6948 MB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1021, allocations: 0 / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1025, allocations: 47.73 kB / 376.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1028, allocations: 39.72 kB / 377 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1043, allocations: 0.5953 MB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1047, allocations: 107.7 kB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1049, allocations: 40.98 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.1052, allocations: 71.7 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.1055, allocations: 79.66 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.1056, allocations: 12 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1059, allocations: 127.8 kB / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.106, allocations: 35.89 kB / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1062, allocations: 59.66 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.1068, allocations: 219.6 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1068, allocations: 4 kB / 378.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1068, allocations: 0 / 378.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1068, allocations: 0 / 378.3 MB, free: 1.375 MB / 318.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.002239/0.1091, allocations: 0.5457 MB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.1092, allocations: 12.03 kB / 378.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1093, allocations: 46.73 kB / 378.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1106, allocations: 176.5 kB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1108, allocations: 184.2 kB / 379.3 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1109, allocations: 16.17 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1109, allocations: 12.38 kB / 379.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.1113, allocations: 181.7 kB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1114, allocations: 0 / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1114, allocations: 0 / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.1114, allocations: 8 kB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1855/0.297, allocations: 168.1 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.298, allocations: 0.536 MB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.2984, allocations: 165.9 kB / 380.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2986, allocations: 91.92 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2986, allocations: 9.094 kB / 380.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2986, allocations: 34.84 kB / 380.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.2986, allocations: 0 / 380.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006932/0.2993, allocations: 264 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2994, allocations: 56.03 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2995, allocations: 187.8 kB / 381 MB, free: 12.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2996, allocations: 27.08 kB / 381 MB, free: 12.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.2996, allocations: 113.4 kB / 381.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.2997, allocations: 40.53 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.2997, allocations: 35.52 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.2998, allocations: 327.9 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3, allocations: 64.36 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3002, allocations: 92.97 kB / 381.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.3006, allocations: 167.5 kB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3006, allocations: 1.375 kB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004784/0.3011, allocations: 215.3 kB / 382 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3011, allocations: 6.078 kB / 382 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3011, allocations: 1.656 kB / 382 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3011, allocations: 5.562 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3014, allocations: 37.66 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3014, allocations: 2.234 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3016, allocations: 25.64 kB / 382.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3016, allocations: 6.453 kB / 382.1 MB, free: 11.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 15 * 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 9.719e-05/0.3017, allocations: 136.2 kB / 382.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.3017, allocations: 11.52 kB / 382.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.3023, allocations: 248.5 kB / 382.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3023, allocations: 10.27 kB / 382.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3024, allocations: 0.5 kB / 382.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3024, allocations: 0 / 382.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.3027, allocations: 275.3 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3027, allocations: 1.781 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.3029, allocations: 44.34 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.303, allocations: 0.6562 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.303, allocations: 4.25 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.303, allocations: 9.547 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.303, allocations: 0 / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.3036, allocations: 324.4 kB / 383.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3036, allocations: 96.44 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3036, allocations: 6.031 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3038, allocations: 10.97 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.3039, allocations: 19.97 kB / 383.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3039, allocations: 9.906 kB / 383.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.304, allocations: 147.8 kB / 383.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.304, allocations: 1.438 kB / 383.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3043, allocations: 25.41 kB / 383.5 MB, free: 11.09 MB / 318.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 (18): * Single equations (assignments): 18 * 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.0007596/0.3051, allocations: 0.8549 MB / 384.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.3056, allocations: 173.8 kB / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3056, allocations: 0 / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3058, allocations: 97.67 kB / 384.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3061, allocations: 21.66 kB / 384.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.3087, allocations: 2.12 MB / 386.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.309, allocations: 0.7259 MB / 387.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.3091, allocations: 35.53 kB / 387.5 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3092, allocations: 55.16 kB / 387.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3092, allocations: 0 / 387.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3312, allocations: 3.873 MB / 391.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.772, allocations: 17.2 kB / 391.4 MB, free: 7.332 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches