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.001549/0.001549, allocations: 112.4 kB / 17.73 MB, free: 5.355 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.001527/0.001527, allocations: 183.1 kB / 18.66 MB, free: 4.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.313/1.313, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001247/0.001247, allocations: 47.94 kB / 328 MB, free: 3.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.08031, allocations: 46.63 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002936/0.0833, allocations: 1.58 MB / 376.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.08481, allocations: 0.6948 MB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.08493, allocations: 4 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.08529, allocations: 47.72 kB / 376.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.0855, allocations: 39.72 kB / 377 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.08668, allocations: 0.5953 MB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.08692, allocations: 107.7 kB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.08706, allocations: 37.05 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.08722, allocations: 63.72 kB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.0874, allocations: 83.66 kB / 377.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.08744, allocations: 15.94 kB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.08773, allocations: 135.8 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.08781, allocations: 35.91 kB / 378.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.08788, allocations: 55.66 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.08822, allocations: 219.2 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.08824, allocations: 0 / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.08824, allocations: 0 / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.08825, allocations: 0 / 378.3 MB, free: 1.391 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.001523/0.08978, allocations: 0.5649 MB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.08983, allocations: 8.031 kB / 378.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.08989, allocations: 46.73 kB / 378.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.09129, allocations: 172.6 kB / 379.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.09154, allocations: 188.2 kB / 379.3 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.09158, allocations: 16.17 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.09161, allocations: 8.375 kB / 379.3 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.09202, allocations: 173.7 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.09204, allocations: 0 / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.09207, allocations: 12 kB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.0921, allocations: 7.984 kB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1508/0.2429, allocations: 164 kB / 379.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.2439, allocations: 0.5381 MB / 380.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.2443, allocations: 169 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2445, allocations: 91.33 kB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2446, allocations: 6.172 kB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2446, allocations: 38.78 kB / 380.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2446, allocations: 0 / 380.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006963/0.2453, allocations: 256.8 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2453, allocations: 55.05 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2455, allocations: 185.3 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2455, allocations: 29.17 kB / 381 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.2456, allocations: 116.8 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2456, allocations: 41.91 kB / 381.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.2457, allocations: 35.95 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.2458, allocations: 326.1 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.246, allocations: 70.58 kB / 381.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2461, allocations: 88.39 kB / 381.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.2465, allocations: 172.1 kB / 381.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2465, allocations: 0 / 381.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004625/0.247, allocations: 211 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.247, allocations: 5.734 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.247, allocations: 3.406 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.2471, allocations: 7.25 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2473, allocations: 41.11 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2473, allocations: 5.062 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2475, allocations: 19.45 kB / 382.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2475, allocations: 10.08 kB / 382.1 MB, free: 11.88 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.295e-05/0.2476, allocations: 132 kB / 382.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.2477, allocations: 14.34 kB / 382.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.2482, allocations: 251.3 kB / 382.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2483, allocations: 8.062 kB / 382.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2483, allocations: 0 / 382.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2483, allocations: 2.812 kB / 382.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.2486, allocations: 274.6 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2486, allocations: 0.75 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.2488, allocations: 36.06 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2488, allocations: 1.578 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2489, allocations: 7.703 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2489, allocations: 5.922 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2489, allocations: 0.5625 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.2494, allocations: 329.3 kB / 383.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2494, allocations: 94.34 kB / 383.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2495, allocations: 6.141 kB / 383.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2496, allocations: 14.36 kB / 383.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2497, allocations: 16.34 kB / 383.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.2497, allocations: 8.875 kB / 383.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.2498, allocations: 148.5 kB / 383.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2498, allocations: 0 / 383.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.2501, allocations: 29.27 kB / 383.5 MB, free: 11.03 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.0006713/0.2508, allocations: 0.8519 MB / 384.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.2513, allocations: 179.8 kB / 384.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2513, allocations: 0 / 384.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.2515, allocations: 99.16 kB / 384.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.2518, allocations: 23.72 kB / 384.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2541, allocations: 2.125 MB / 386.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2543, allocations: 0.7292 MB / 387.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.2544, allocations: 36.61 kB / 387.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.2545, allocations: 53.27 kB / 387.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2545, allocations: 1.75 kB / 387.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.2742, allocations: 3.813 MB / 391.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.385, allocations: 7.859 kB / 391.4 MB, free: 7.285 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