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.001724/0.001724, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002058/0.002058, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.657/1.657, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.001944/0.001944, allocations: 59.84 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3709, allocations: 53.4 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003193/0.3741, allocations: 1.733 MB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3755, allocations: 0.771 MB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3756, allocations: 7.938 kB / 434.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3759, allocations: 51.7 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3761, allocations: 39.72 kB / 434.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3772, allocations: 0.5058 MB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3774, allocations: 123.6 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3775, allocations: 13.75 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3777, allocations: 67.7 kB / 435.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3779, allocations: 87.66 kB / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.378, allocations: 8 kB / 435.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.3782, allocations: 127.8 kB / 435.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.3783, allocations: 39.84 kB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3784, allocations: 55.61 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3787, allocations: 208 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3787, allocations: 4 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3787, allocations: 0 / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3787, allocations: 0 / 435.8 MB, free: 2.988 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.001389/0.3801, allocations: 465.3 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.3802, allocations: 12.03 kB / 436.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.471e-05/0.3802, allocations: 4.188 kB / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.3802, allocations: 46.73 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.3809, allocations: 104.7 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3812, allocations: 169.2 kB / 436.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3812, allocations: 8.375 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3812, allocations: 12.3 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.3816, allocations: 170.2 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3817, allocations: 0 / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3817, allocations: 11.98 kB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.3817, allocations: 4 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.3821, allocations: 155.9 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3832, allocations: 0.5228 MB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.3837, allocations: 138.5 kB / 437.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3839, allocations: 68.81 kB / 437.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3839, allocations: 4 kB / 437.6 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3839, allocations: 34.56 kB / 437.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3839, allocations: 0 / 437.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006428/0.3846, allocations: 213.6 kB / 437.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.3846, allocations: 51.41 kB / 437.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3849, allocations: 219.1 kB / 438.1 MB, free: 464 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3849, allocations: 29.7 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.385, allocations: 120.2 kB / 438.3 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.385, allocations: 39.67 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.3851, allocations: 29.7 kB / 438.4 MB, free: 224 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3853, allocations: 326.8 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.3855, allocations: 55.95 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.3857, allocations: 96.19 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.386, allocations: 152.5 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.386, allocations: 7.938 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000419/0.3864, allocations: 193.3 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3865, allocations: 8 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3865, allocations: 0 / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3865, allocations: 0 / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3867, allocations: 35.91 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3867, allocations: 4 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3868, allocations: 24 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3868, allocations: 7.984 kB / 439.2 MB, free: 15.28 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.0001246/0.3869, allocations: 137.7 kB / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.387, allocations: 23.86 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.3874, allocations: 178.9 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3874, allocations: 4 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3874, allocations: 7.984 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3875, allocations: 0 / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3877, allocations: 212.6 kB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3877, allocations: 0 / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3879, allocations: 27.97 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3879, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3879, allocations: 4 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3879, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3879, allocations: 4 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.3884, allocations: 271.2 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.3884, allocations: 31.88 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3884, allocations: 0 / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3886, allocations: 11.98 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3886, allocations: 7.984 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3887, allocations: 4 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3888, allocations: 156.5 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3888, allocations: 0 / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3891, allocations: 31.89 kB / 440.3 MB, free: 14.11 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.0009077/0.39, allocations: 0.8137 MB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.3905, allocations: 131.8 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3905, allocations: 288 / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3907, allocations: 67.89 kB / 441.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.391, allocations: 31.41 kB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.3941, allocations: 2.146 MB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3945, allocations: 0.7317 MB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3946, allocations: 29.41 kB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3947, allocations: 43.42 kB / 444.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3947, allocations: 4 kB / 444.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.4199, allocations: 3.671 MB / 448 MB, free: 6.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 7.156 kB / 448 MB, free: 6.414 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: 14.749856353970245]