Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 51.92 kB / 377.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4017, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003577/0.4053, allocations: 1.722 MB / 432.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.407, allocations: 0.771 MB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.4071, allocations: 4 kB / 433.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.4074, allocations: 55.7 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.4075, allocations: 35.73 kB / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4087, allocations: 0.5136 MB / 434.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.4089, allocations: 119.6 kB / 434.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4091, allocations: 17.73 kB / 434.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.4092, allocations: 59.72 kB / 434.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.4094, allocations: 87.66 kB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.4095, allocations: 12 kB / 434.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.4098, allocations: 127.8 kB / 434.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.4099, allocations: 43.83 kB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.4099, allocations: 55.61 kB / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.4103, allocations: 208.9 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4103, allocations: 4 kB / 434.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4103, allocations: 0 / 434.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.4103, allocations: 0 / 434.9 MB, free: 3.039 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.001519/0.4119, allocations: 461.3 kB / 435.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.4119, allocations: 12.03 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.027e-05/0.412, allocations: 46.73 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/0.4127, allocations: 108.7 kB / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4129, allocations: 167.8 kB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.413, allocations: 4.375 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.413, allocations: 8.375 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4134, allocations: 162.4 kB / 435.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4134, allocations: 4 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4134, allocations: 12 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.4135, allocations: 11.92 kB / 435.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.4139, allocations: 159.9 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.415, allocations: 0.5227 MB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.4154, allocations: 146.5 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.4156, allocations: 60.81 kB / 436.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.4156, allocations: 8 kB / 436.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4156, allocations: 30.56 kB / 436.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4156, allocations: 4 kB / 436.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006309/0.4163, allocations: 213.6 kB / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4163, allocations: 51.41 kB / 437.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4165, allocations: 211.8 kB / 437.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.4166, allocations: 29.7 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.4167, allocations: 120.2 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4167, allocations: 39.69 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.4168, allocations: 29.67 kB / 437.5 MB, free: 284 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4169, allocations: 326.8 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4171, allocations: 51.97 kB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.4173, allocations: 103.8 kB / 438 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.4177, allocations: 156.2 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4177, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004509/0.4182, allocations: 197.7 kB / 438.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4182, allocations: 8 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4182, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4182, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4184, allocations: 35.91 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4184, allocations: 4 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4185, allocations: 19.84 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4185, allocations: 8.109 kB / 438.4 MB, free: 15.34 MB / 350.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.00014/0.4187, allocations: 141.7 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.4187, allocations: 19.89 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.4192, allocations: 186.8 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4192, allocations: 4 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4192, allocations: 0 / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4192, allocations: 0 / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.4195, allocations: 224.6 kB / 439 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4195, allocations: 0 / 439 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4197, allocations: 27.97 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.4197, allocations: 0 / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4197, allocations: 4 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4197, allocations: 0 / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4197, allocations: 4 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.4202, allocations: 271.2 kB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.4203, allocations: 27.89 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.4203, allocations: 8 kB / 439.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4205, allocations: 7.984 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4205, allocations: 7.969 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4206, allocations: 8 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.4207, allocations: 152.5 kB / 439.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4207, allocations: 0 / 439.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.421, allocations: 35.89 kB / 439.5 MB, free: 14.16 MB / 350.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.0009328/0.4219, allocations: 0.8059 MB / 440.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.4224, allocations: 131.8 kB / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4224, allocations: 0 / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.4226, allocations: 67.89 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4229, allocations: 16.27 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.4261, allocations: 2.151 MB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4265, allocations: 0.7278 MB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4267, allocations: 33.39 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.4268, allocations: 43.42 kB / 443.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4268, allocations: 4 kB / 443.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.4656, allocations: 3.632 MB / 447.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.35, allocations: 7.984 kB / 447.1 MB, free: 6.527 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.881062307860702]