Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 218 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 59.91 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 53.41 MB / 431.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003258/0.3311, allocations: 1.671 MB / 433.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3326, allocations: 0.7049 MB / 434.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.3326, allocations: 0 / 434.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3329, allocations: 55.7 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3331, allocations: 39.72 kB / 434.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3342, allocations: 490.1 kB / 434.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.3345, allocations: 123.6 kB / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3346, allocations: 19.84 kB / 435 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3347, allocations: 67.66 kB / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3349, allocations: 95.64 kB / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.335, allocations: 8 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.3352, allocations: 115.9 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.3353, allocations: 43.84 kB / 435.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.3354, allocations: 47.67 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.3357, allocations: 203.2 kB / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3357, allocations: 0 / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3357, allocations: 0 / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3358, allocations: 0 / 435.5 MB, free: 2.844 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.001384/0.3371, allocations: 473.3 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3372, allocations: 12.03 kB / 436 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.449e-05/0.3372, allocations: 192 / 436 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.3372, allocations: 46.73 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.3379, allocations: 104.7 kB / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3382, allocations: 165.3 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3382, allocations: 8.375 kB / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3382, allocations: 8.375 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.3387, allocations: 170.3 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3387, allocations: 0 / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3387, allocations: 0 / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.3387, allocations: 15.98 kB / 436.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.3391, allocations: 147.9 kB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3403, allocations: 0.4993 MB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.3408, allocations: 138.6 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.341, allocations: 64.81 kB / 437.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3411, allocations: 0 / 437.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3411, allocations: 38.75 kB / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3411, allocations: 0 / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006356/0.3417, allocations: 213.4 kB / 437.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3418, allocations: 59.34 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.342, allocations: 215.1 kB / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3421, allocations: 29.7 kB / 437.9 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3422, allocations: 120.2 kB / 438 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3422, allocations: 35.69 kB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3423, allocations: 33.7 kB / 438.1 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3425, allocations: 322.8 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3426, allocations: 55.95 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3428, allocations: 99.88 kB / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.3432, allocations: 152.2 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3432, allocations: 3.938 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004699/0.3437, allocations: 201.3 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3437, allocations: 4 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3437, allocations: 0 / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3437, allocations: 4 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3439, allocations: 27.97 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3439, allocations: 4.469 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.344, allocations: 23.83 kB / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.344, allocations: 8 kB / 439 MB, free: 15.18 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.0001469/0.3442, allocations: 141.8 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3442, allocations: 15.91 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.3447, allocations: 182.9 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3447, allocations: 0 / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3447, allocations: 0 / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3448, allocations: 3.984 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.345, allocations: 208.6 kB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.345, allocations: 0 / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3452, allocations: 31.92 kB / 439.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3452, allocations: 7.984 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3452, allocations: 0 / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3452, allocations: 0 / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3452, allocations: 0 / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.3457, allocations: 267.2 kB / 439.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.3458, allocations: 27.89 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3458, allocations: 0 / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3459, allocations: 11.98 kB / 439.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.346, allocations: 11.98 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.346, allocations: 4 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3461, allocations: 152.5 kB / 440 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 0 / 440 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3464, allocations: 31.89 kB / 440.1 MB, free: 14.03 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.000839/0.3473, allocations: 0.81 MB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.3477, allocations: 131.8 kB / 441 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3477, allocations: 0 / 441 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3479, allocations: 67.89 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3482, allocations: 16 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.3514, allocations: 2.143 MB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3515, allocations: 119.2 kB / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.3516, allocations: 33.39 kB / 443.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3517, allocations: 51.59 kB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3517, allocations: 0 / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.3764, allocations: 3.785 MB / 447.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 8.047 kB / 447.2 MB, free: 6.855 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 13.88422934000846]