Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_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.002378/0.002378, allocations: 105.3 kB / 17.06 MB, free: 6.016 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.003053/0.003053, allocations: 196 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.893/2.893, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001793, allocations: 43.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.9003, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.007347/0.9077, allocations: 1.631 MB / 401.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.9104, allocations: 0.6398 MB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.9107, allocations: 4 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.9112, allocations: 51.72 kB / 402.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.9118, allocations: 35.72 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.9239, allocations: 0.5992 MB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.9247, allocations: 111.7 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.9251, allocations: 29.03 kB / 403.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.9255, allocations: 59.83 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.9259, allocations: 79.67 kB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.926, allocations: 12 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.9266, allocations: 131.8 kB / 403.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.9267, allocations: 43.83 kB / 403.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.9269, allocations: 59.61 kB / 403.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007738/0.9277, allocations: 213.1 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9277, allocations: 0 / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9277, allocations: 0 / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.9278, allocations: 4 kB / 403.9 MB, free: 5.117 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.003073/0.9308, allocations: 0.5535 MB / 404.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.998e-05/0.931, allocations: 11.89 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.9311, allocations: 46.73 kB / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00669/0.9378, allocations: 180.5 kB / 404.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.9383, allocations: 196.1 kB / 404.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.9384, allocations: 8.375 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.9385, allocations: 8.375 kB / 404.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.9394, allocations: 181.7 kB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.9394, allocations: 0 / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.9394, allocations: 4 kB / 405.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.9395, allocations: 4 kB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.9403, allocations: 167.9 kB / 405.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.9424, allocations: 0.543 MB / 405.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.9431, allocations: 166.4 kB / 405.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.9435, allocations: 88.8 kB / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.328e-05/0.9436, allocations: 8 kB / 406 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.171e-05/0.9437, allocations: 34.5 kB / 406.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.557e-06/0.9438, allocations: 0 / 406.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001258/0.945, allocations: 269 kB / 406.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9452, allocations: 51.41 kB / 406.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.9456, allocations: 190.3 kB / 406.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.9457, allocations: 25.7 kB / 406.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.9459, allocations: 120.1 kB / 406.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.946, allocations: 43.36 kB / 406.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.9462, allocations: 33.7 kB / 406.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003151/0.9465, allocations: 326.8 kB / 407.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.9469, allocations: 67.94 kB / 407.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.9473, allocations: 94.45 kB / 407.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/0.948, allocations: 170.4 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.9481, allocations: 0 / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.002635/0.9507, allocations: 213.4 kB / 407.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.9508, allocations: 4 kB / 407.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.9508, allocations: 0 / 407.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.9508, allocations: 4 kB / 407.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.9513, allocations: 44.02 kB / 407.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.9513, allocations: 0 / 407.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.9516, allocations: 19.75 kB / 407.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.9517, allocations: 7.984 kB / 407.7 MB, free: 1.039 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.0002779/0.952, allocations: 133.8 kB / 407.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.9521, allocations: 15.84 kB / 407.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.9533, allocations: 249.3 kB / 408.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.9533, allocations: 4 kB / 408.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9534, allocations: 0 / 408.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.9534, allocations: 0 / 408.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.9541, allocations: 277.3 kB / 408.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.9541, allocations: 0 / 408.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.9544, allocations: 51.89 kB / 408.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.9545, allocations: 0 / 408.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.9545, allocations: 4 kB / 408.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.9545, allocations: 0 / 408.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9546, allocations: 0 / 408.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009865/0.9556, allocations: 327.3 kB / 408.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.9557, allocations: 96.8 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.9558, allocations: 3.984 kB / 408.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.956, allocations: 12 kB / 408.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.9561, allocations: 15.95 kB / 408.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.9562, allocations: 12 kB / 408.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.9564, allocations: 144.2 kB / 409 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9564, allocations: 0 / 409 MB, free: 15.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.957, allocations: 24 kB / 409.1 MB, free: 15.59 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 (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.001512/0.9585, allocations: 0.8786 MB / 409.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.9594, allocations: 163.8 kB / 410.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.9594, allocations: 4 kB / 410.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.9598, allocations: 100 kB / 410.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.9604, allocations: 19.98 kB / 410.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.9661, allocations: 2.135 MB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/0.9668, allocations: 0.7318 MB / 413.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.9671, allocations: 33.41 kB / 413.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.9673, allocations: 51.41 kB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 1.844e-06/0.9673, allocations: 0 / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.085, allocations: 3.861 MB / 417 MB, free: 7.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/20.38, allocations: 23.12 kB / 417.1 MB, free: 7.566 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches