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.0008358/0.0008358, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008625/0.0008625, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.325e-06/2.325e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.816e-05, allocations: 2.281 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002382/0.0024, allocations: 1.694 MB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000984/0.003384, allocations: 0.7126 MB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.003437, allocations: 0 / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.003661, allocations: 51.61 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003821, allocations: 51.64 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.004398, allocations: 470 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.00457, allocations: 127.5 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.004663, allocations: 21.8 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.004756, allocations: 79.73 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.00493, allocations: 75.8 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.004952, allocations: 12 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.005109, allocations: 119.8 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.005165, allocations: 31.86 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.005206, allocations: 39.84 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.005437, allocations: 215.3 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005439, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00544, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005444, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 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.0007583/0.006203, allocations: 464.7 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006238, allocations: 16.02 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.006275, allocations: 46.73 kB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.006611, allocations: 104.7 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006773, allocations: 170.5 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.006786, allocations: 4.375 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.006801, allocations: 8.375 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007035, allocations: 168.4 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007044, allocations: 4.125 kB / 329.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.007058, allocations: 8.125 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.007076, allocations: 4 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.007298, allocations: 159.9 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.007889, allocations: 500 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.008138, allocations: 142.5 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.008235, allocations: 60.81 kB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.008253, allocations: 0 / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.00827, allocations: 42.5 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.008271, allocations: 4 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003465/0.008618, allocations: 209.6 kB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.008646, allocations: 51.41 kB / 330.3 MB, free: 10 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.00878, allocations: 218.9 kB / 330.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.008792, allocations: 25.7 kB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.008853, allocations: 128.2 kB / 330.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.008872, allocations: 31.75 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.008911, allocations: 33.66 kB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.008984, allocations: 326.8 kB / 331.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.009076, allocations: 59.95 kB / 331.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.009174, allocations: 92.19 kB / 331.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.00936, allocations: 156.2 kB / 331.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.009362, allocations: 4 kB / 331.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002281/0.00959, allocations: 193.8 kB / 331.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.009603, allocations: 7.938 kB / 331.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009609, allocations: 4.094 kB / 331.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.009618, allocations: 3.938 kB / 331.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.009706, allocations: 35.86 kB / 331.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.009711, allocations: 3.984 kB / 331.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.009767, allocations: 27.98 kB / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.009777, allocations: 8 kB / 331.7 MB, free: 8.594 MB / 298.7 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 7.151e-05/0.009849, allocations: 129.8 kB / 331.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.009868, allocations: 15.84 kB / 331.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.01012, allocations: 183 kB / 332 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01012, allocations: 0 / 332 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01013, allocations: 4 kB / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01013, allocations: 8 kB / 332 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.0103, allocations: 204.6 kB / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.0103, allocations: 0 / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.01037, allocations: 27.98 kB / 332.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01037, allocations: 7.875 kB / 332.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01038, allocations: 0 / 332.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01038, allocations: 0 / 332.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01038, allocations: 0 / 332.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01061, allocations: 267.4 kB / 332.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.01065, allocations: 27.89 kB / 332.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01067, allocations: 15.92 kB / 332.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.01073, allocations: 4 kB / 332.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.01076, allocations: 7.984 kB / 332.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.01076, allocations: 7.984 kB / 332.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.228e-05/0.01085, allocations: 152.2 kB / 332.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01085, allocations: 0 / 332.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01102, allocations: 31.95 kB / 332.7 MB, free: 7.453 MB / 298.7 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.0006708/0.01169, allocations: 0.8098 MB / 333.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.0119, allocations: 123.9 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0119, allocations: 4 kB / 333.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.012, allocations: 68.08 kB / 333.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01219, allocations: 23.98 kB / 333.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.0138, allocations: 2.139 MB / 335.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.01387, allocations: 115.6 kB / 336 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.01393, allocations: 37.45 kB / 336 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.014, allocations: 52.42 kB / 336.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.014, allocations: 0 / 336.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.02919, allocations: 4.224 MB / 340.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.645, allocations: 11.44 kB / 340.3 MB, free: 15.82 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 8.263540655374527]