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.001344/0.001344, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001353/0.001353, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.478/1.478, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001578/0.001578, allocations: 55.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09655, allocations: 46.62 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00267/0.09926, allocations: 1.596 MB / 376.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1005, allocations: 0.687 MB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.1005, allocations: 4 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1008, allocations: 51.7 kB / 377 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.101, allocations: 39.73 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1021, allocations: 0.5913 MB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.1023, allocations: 111.7 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1025, allocations: 37.06 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1026, allocations: 71.64 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1028, allocations: 79.67 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1028, allocations: 8 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1031, allocations: 127.8 kB / 378 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.1031, allocations: 39.89 kB / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.1032, allocations: 55.61 kB / 378.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1036, allocations: 223.2 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1036, allocations: 0 / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1036, allocations: 0 / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1036, allocations: 4 kB / 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.001677/0.1053, allocations: 0.5571 MB / 378.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1053, allocations: 8.031 kB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.1054, allocations: 50.69 kB / 378.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.1067, allocations: 172.6 kB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.107, allocations: 192.2 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.107, allocations: 12.23 kB / 379.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.107, allocations: 12.38 kB / 379.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.1074, allocations: 177.6 kB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1074, allocations: 3.938 kB / 379.5 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1075, allocations: 4 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.1075, allocations: 11.98 kB / 379.5 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1757/0.2832, allocations: 165.8 kB / 379.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2843, allocations: 0.5399 MB / 380.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.2847, allocations: 163.7 kB / 380.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.285, allocations: 92.3 kB / 380.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.285, allocations: 10.66 kB / 380.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.285, allocations: 32.88 kB / 380.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.285, allocations: 0 / 380.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006764/0.2857, allocations: 260.1 kB / 380.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.2857, allocations: 53.62 kB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2859, allocations: 188.9 kB / 381 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2859, allocations: 25.7 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.286, allocations: 113.5 kB / 381.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.286, allocations: 46.56 kB / 381.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.2861, allocations: 34.98 kB / 381.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.2861, allocations: 324.3 kB / 381.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2863, allocations: 67.06 kB / 381.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2865, allocations: 92.14 kB / 381.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.2869, allocations: 170.7 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2869, allocations: 2.25 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004655/0.2874, allocations: 213.1 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2874, allocations: 7.547 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2875, allocations: 1.125 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2875, allocations: 5.75 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2878, allocations: 37.45 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2878, allocations: 5.594 kB / 382.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.2879, allocations: 19.14 kB / 382.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2879, allocations: 8.594 kB / 382.1 MB, free: 12.2 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 0.0001007/0.2881, allocations: 135.9 kB / 382.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2881, allocations: 14.62 kB / 382.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.2887, allocations: 248.2 kB / 382.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2887, allocations: 6.219 kB / 382.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2888, allocations: 0.7188 kB / 382.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2888, allocations: 5.266 kB / 382.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.2891, allocations: 267.9 kB / 382.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2891, allocations: 0.5 kB / 382.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.2893, allocations: 40.69 kB / 382.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2893, allocations: 4.094 kB / 382.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2893, allocations: 3.719 kB / 382.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2893, allocations: 11.56 kB / 382.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2894, allocations: 1.391 kB / 382.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.2898, allocations: 327.8 kB / 383.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.2899, allocations: 93.84 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2899, allocations: 1.875 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2901, allocations: 18.3 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.2901, allocations: 15.33 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2902, allocations: 5.562 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.2903, allocations: 148.6 kB / 383.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2903, allocations: 0 / 383.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.2906, allocations: 27.2 kB / 383.5 MB, free: 11.31 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.0006463/0.2912, allocations: 0.8572 MB / 384.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.2917, allocations: 172 kB / 384.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2917, allocations: 0 / 384.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2919, allocations: 103.1 kB / 384.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2922, allocations: 30 kB / 384.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2945, allocations: 2.124 MB / 386.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2947, allocations: 0.7267 MB / 387.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2948, allocations: 33.3 kB / 387.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2949, allocations: 54.61 kB / 387.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2949, allocations: 1.781 kB / 387.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.3203, allocations: 3.809 MB / 391.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.734, allocations: 9.328 kB / 391.4 MB, free: 7.547 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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