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.001013/0.001013, allocations: 118.6 kB / 17.28 MB, free: 6.219 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.0009811/0.0009811, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.362/1.362, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001158/0.001158, allocations: 51.92 kB / 280.2 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 46.62 MB / 326.9 MB, free: 4.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002782/0.115, allocations: 1.65 MB / 328.5 MB, free: 3.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1161, allocations: 0.6709 MB / 329.2 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1162, allocations: 0 / 329.2 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1165, allocations: 43.86 kB / 329.2 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1166, allocations: 35.84 kB / 329.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1177, allocations: 0.5605 MB / 329.8 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1178, allocations: 111.7 kB / 329.9 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1179, allocations: 33.06 kB / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1181, allocations: 67.7 kB / 330 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1182, allocations: 83.66 kB / 330.1 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1183, allocations: 8 kB / 330.1 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1185, allocations: 143.8 kB / 330.3 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1185, allocations: 35.91 kB / 330.3 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.1186, allocations: 55.59 kB / 330.4 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.1188, allocations: 223.6 kB / 330.6 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1189, allocations: 4 kB / 330.6 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1189, allocations: 0 / 330.6 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1189, allocations: 4 kB / 330.6 MB, free: 0.9766 MB / 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.001461/0.1203, allocations: 0.5536 MB / 331.1 MB, free: 384 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1204, allocations: 8.031 kB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1205, allocations: 50.73 kB / 331.2 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.1218, allocations: 168.5 kB / 331.4 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.122, allocations: 200 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1221, allocations: 8.375 kB / 331.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1221, allocations: 12.38 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1225, allocations: 189.7 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1225, allocations: 3.938 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1225, allocations: 0 / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.1226, allocations: 8 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.123, allocations: 163.9 kB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.1239, allocations: 0.5508 MB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1243, allocations: 178.4 kB / 332.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1245, allocations: 100.8 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1245, allocations: 4 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1246, allocations: 34.56 kB / 332.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 3.106e-06/0.1246, allocations: 3.984 kB / 332.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007208/0.1253, allocations: 282.4 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1253, allocations: 59.34 kB / 333.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1255, allocations: 187.3 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1255, allocations: 25.7 kB / 333.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.1256, allocations: 115.9 kB / 333.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1257, allocations: 51.2 kB / 333.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.1258, allocations: 37.69 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1259, allocations: 326.8 kB / 333.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.1261, allocations: 67.95 kB / 333.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.1263, allocations: 103.4 kB / 334 MB, free: 13.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1267, allocations: 187.3 kB / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1267, allocations: 4 kB / 334.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004662/0.1272, allocations: 221.5 kB / 334.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1272, allocations: 7.938 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1272, allocations: 4 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1272, allocations: 0 / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1275, allocations: 43.89 kB / 334.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1275, allocations: 4 kB / 334.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1277, allocations: 27.83 kB / 334.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1277, allocations: 8 kB / 334.5 MB, free: 12.78 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.0001159/0.1278, allocations: 125.8 kB / 334.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1278, allocations: 19.78 kB / 334.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.1284, allocations: 266.9 kB / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1285, allocations: 7.984 kB / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1285, allocations: 0 / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1285, allocations: 0 / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1288, allocations: 277.4 kB / 335.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1288, allocations: 3.938 kB / 335.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.129, allocations: 47.89 kB / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.129, allocations: 11.88 kB / 335.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1291, allocations: 4 kB / 335.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1291, allocations: 0 / 335.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1291, allocations: 0 / 335.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.1296, allocations: 335.2 kB / 335.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1297, allocations: 96.84 kB / 335.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1298, allocations: 3.938 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1299, allocations: 15.98 kB / 335.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.13, allocations: 11.98 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.13, allocations: 7.984 kB / 335.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1301, allocations: 136 kB / 335.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1301, allocations: 0 / 335.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1304, allocations: 31.98 kB / 335.9 MB, free: 11.3 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.0008799/0.1313, allocations: 0.8683 MB / 336.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1319, allocations: 200.3 kB / 337 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1319, allocations: 0 / 337 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1321, allocations: 103.8 kB / 337.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1324, allocations: 27.61 kB / 337.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.1352, allocations: 2.216 MB / 339.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1355, allocations: 0.7241 MB / 340 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1356, allocations: 37.39 kB / 340.1 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1357, allocations: 51.41 kB / 340.1 MB, free: 6.941 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1357, allocations: 4 kB / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1495, allocations: 3.747 MB / 343.9 MB, free: 3.176 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.1499, allocations: 213.4 kB / 344.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.113, allocations: 0 / 344.1 MB, free: 2.91 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