Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_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.001448/0.001448, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001578/0.001579, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 51.77 kB / 300 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 49.44 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003762/0.1263, allocations: 1.686 MB / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1277, allocations: 0.6349 MB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1279, allocations: 0 / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1283, allocations: 39.86 kB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1285, allocations: 31.84 kB / 351.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1299, allocations: 0.5941 MB / 352.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1301, allocations: 95.7 kB / 352.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1302, allocations: 33.03 kB / 352.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1304, allocations: 59.72 kB / 352.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1306, allocations: 75.72 kB / 352.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.1308, allocations: 4 kB / 352.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1311, allocations: 143.8 kB / 352.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.1312, allocations: 31.86 kB / 352.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.1313, allocations: 55.64 kB / 353 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.1317, allocations: 215.7 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1317, allocations: 3.984 kB / 353.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1318, allocations: 0 / 353.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1318, allocations: 0 / 353.2 MB, free: 1.039 MB / 286.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.001836/0.1336, allocations: 0.5613 MB / 353.7 MB, free: 440 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1337, allocations: 8.031 kB / 353.7 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.1337, allocations: 42.75 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.1352, allocations: 176.5 kB / 354 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1355, allocations: 203.9 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.1355, allocations: 8.375 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1355, allocations: 8.375 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.136, allocations: 185.7 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.136, allocations: 0 / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1361, allocations: 4 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.1361, allocations: 11.98 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.1366, allocations: 167.9 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1377, allocations: 0.5391 MB / 355.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.1382, allocations: 182.4 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.1385, allocations: 104.9 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1385, allocations: 4 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1386, allocations: 34.56 kB / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.1386, allocations: 0 / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008121/0.1394, allocations: 289.3 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1394, allocations: 55.41 kB / 355.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1397, allocations: 179.3 kB / 355.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1397, allocations: 33.7 kB / 355.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.1398, allocations: 112 kB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1399, allocations: 51.2 kB / 356.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.14, allocations: 33.7 kB / 356.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1402, allocations: 326.8 kB / 356.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1404, allocations: 71.95 kB / 356.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1406, allocations: 106.2 kB / 356.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.1411, allocations: 198.8 kB / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1411, allocations: 0 / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005578/0.1416, allocations: 229.3 kB / 357 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1417, allocations: 11.94 kB / 357.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1417, allocations: 3.984 kB / 357.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1417, allocations: 0 / 357.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.142, allocations: 39.89 kB / 357.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.142, allocations: 4 kB / 357.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1422, allocations: 19.84 kB / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1422, allocations: 8.078 kB / 357.1 MB, free: 12.83 MB / 302.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.0001567/0.1424, allocations: 133.8 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.1424, allocations: 19.84 kB / 357.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.1432, allocations: 255 kB / 357.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1432, allocations: 4 kB / 357.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1432, allocations: 0 / 357.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.1432, allocations: 15.97 kB / 357.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1436, allocations: 273.4 kB / 357.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1436, allocations: 0 / 357.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.1439, allocations: 43.91 kB / 357.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1439, allocations: 7.938 kB / 357.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1439, allocations: 3.984 kB / 357.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1439, allocations: 0 / 357.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1439, allocations: 0 / 357.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.1446, allocations: 334 kB / 358.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.1447, allocations: 92.86 kB / 358.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1447, allocations: 15.92 kB / 358.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1449, allocations: 8 kB / 358.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.145, allocations: 11.97 kB / 358.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.145, allocations: 8 kB / 358.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1452, allocations: 135.9 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1452, allocations: 4 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.1455, allocations: 32 kB / 358.5 MB, free: 11.36 MB / 302.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.001011/0.1465, allocations: 0.88 MB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.1471, allocations: 191.7 kB / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1471, allocations: 0 / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1473, allocations: 106.6 kB / 359.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1477, allocations: 16.12 kB / 359.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.1508, allocations: 2.234 MB / 361.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1512, allocations: 0.7244 MB / 362.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.1513, allocations: 33.41 kB / 362.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1514, allocations: 55.41 kB / 362.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1514, allocations: 0 / 362.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.1654, allocations: 3.624 MB / 366.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.1656, allocations: 202.3 kB / 366.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.128, allocations: 7.938 kB / 366.6 MB, free: 3.211 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches