Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_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.00101/0.001011, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.001018/0.001019, allocations: 175.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 8 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.58 MB / 329 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002287/0.103, allocations: 1.3 MB / 330.3 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1047, allocations: 0.6827 MB / 331 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1048, allocations: 0 / 331 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1051, allocations: 43.84 kB / 331.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1054, allocations: 23.86 kB / 331.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1068, allocations: 0.5723 MB / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.107, allocations: 103.7 kB / 331.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1072, allocations: 33.05 kB / 331.8 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1074, allocations: 55.72 kB / 331.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1076, allocations: 79.59 kB / 331.9 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1077, allocations: 4 kB / 331.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.108, allocations: 135.8 kB / 332.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.1081, allocations: 31.91 kB / 332.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1082, allocations: 77.3 kB / 332.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1087, allocations: 219.6 kB / 332.4 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1087, allocations: 0 / 332.4 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1087, allocations: 0 / 332.4 MB, free: 312 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1087, allocations: 0 / 332.4 MB, free: 312 kB / 270.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.001654/0.1104, allocations: 0.538 MB / 332.9 MB, free: 15.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1104, allocations: 8.031 kB / 332.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.1105, allocations: 50.73 kB / 333 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1118, allocations: 168.6 kB / 333.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.112, allocations: 196 kB / 333.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.112, allocations: 12.36 kB / 333.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1121, allocations: 4.375 kB / 333.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1125, allocations: 193.7 kB / 333.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1125, allocations: 0 / 333.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1125, allocations: 4 kB / 333.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.1126, allocations: 8 kB / 333.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.113, allocations: 179.9 kB / 333.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.114, allocations: 0.5469 MB / 334.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.1144, allocations: 186.4 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.1146, allocations: 104.8 kB / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1147, allocations: 0 / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1147, allocations: 30.56 kB / 334.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.1147, allocations: 4 kB / 334.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007521/0.1155, allocations: 304.7 kB / 334.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1155, allocations: 55.41 kB / 335 MB, free: 13.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1157, allocations: 183.3 kB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1157, allocations: 37.69 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1158, allocations: 104 kB / 335.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1158, allocations: 59.19 kB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1159, allocations: 17.72 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.116, allocations: 322.8 kB / 335.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1162, allocations: 79.94 kB / 335.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1164, allocations: 107.4 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.1168, allocations: 203.4 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1168, allocations: 7.938 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004852/0.1173, allocations: 237.5 kB / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1174, allocations: 11.94 kB / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1174, allocations: 0 / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1174, allocations: 0 / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1176, allocations: 39.91 kB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1176, allocations: 4 kB / 336.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1178, allocations: 27.89 kB / 336.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1178, allocations: 7.984 kB / 336.4 MB, free: 12.07 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001133/0.1179, allocations: 125.8 kB / 336.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.118, allocations: 11.84 kB / 336.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.1186, allocations: 290.8 kB / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1186, allocations: 0 / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1186, allocations: 0 / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1186, allocations: 0 / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.1189, allocations: 285.4 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.119, allocations: 0 / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1192, allocations: 39.97 kB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1192, allocations: 3.938 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1192, allocations: 15.94 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1192, allocations: 3.984 kB / 337.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1192, allocations: 4 kB / 337.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.1198, allocations: 347.2 kB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1198, allocations: 92.86 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.1199, allocations: 7.938 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.12, allocations: 15.98 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1201, allocations: 15.97 kB / 337.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1201, allocations: 4 kB / 337.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1202, allocations: 135.9 kB / 337.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 0 / 337.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1205, allocations: 32 kB / 337.8 MB, free: 10.57 MB / 286.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008077/0.1213, allocations: 0.8839 MB / 338.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.1218, allocations: 192 kB / 338.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1218, allocations: 0 / 338.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1221, allocations: 116.3 kB / 339 MB, free: 9.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1223, allocations: 16.34 kB / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1251, allocations: 2.252 MB / 341.2 MB, free: 6.988 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1254, allocations: 0.7244 MB / 341.9 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1255, allocations: 33.36 kB / 342 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1256, allocations: 59.39 kB / 342 MB, free: 6.148 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1256, allocations: 4 kB / 342 MB, free: 6.145 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1389, allocations: 3.529 MB / 345.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.1391, allocations: 212.6 kB / 345.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.031, allocations: 0 / 345.8 MB, free: 2.352 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches