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: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 101.1 kB / 17.16 MB, free: 6.316 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.001147/0.001147, allocations: 190 kB / 18.07 MB, free: 5.414 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.621/1.621, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.00116/0.00116, allocations: 55.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004013/0.1306, allocations: 1.635 MB / 328.2 MB, free: 3.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1321, allocations: 0.6903 MB / 328.9 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.1322, allocations: 0 / 328.9 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1325, allocations: 39.86 kB / 329 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1327, allocations: 31.84 kB / 329 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1342, allocations: 0.5879 MB / 329.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1344, allocations: 99.69 kB / 329.7 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1346, allocations: 33.05 kB / 329.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1347, allocations: 55.77 kB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.135, allocations: 79.67 kB / 329.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.135, allocations: 4 kB / 329.8 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1353, allocations: 143.8 kB / 330 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.1354, allocations: 35.84 kB / 330 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.1355, allocations: 55.66 kB / 330.1 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.1359, allocations: 215.7 kB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1359, allocations: 0 / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1359, allocations: 0 / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1359, allocations: 4 kB / 330.3 MB, free: 1.168 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.002036/0.138, allocations: 0.5613 MB / 330.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.138, allocations: 8.031 kB / 330.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.1401, allocations: 168.5 kB / 331 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1404, allocations: 204 kB / 331.2 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.1404, allocations: 8.375 kB / 331.2 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1405, allocations: 4.375 kB / 331.2 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.141, allocations: 197.7 kB / 331.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1411, allocations: 0 / 331.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1411, allocations: 4 kB / 331.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.1411, allocations: 11.94 kB / 331.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1418, allocations: 163.9 kB / 331.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.143, allocations: 0.543 MB / 332.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.1436, allocations: 174.5 kB / 332.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1439, allocations: 96.8 kB / 332.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.144, allocations: 11.98 kB / 332.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.144, allocations: 30.56 kB / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.144, allocations: 0 / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001032/0.1451, allocations: 286.5 kB / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1451, allocations: 55.41 kB / 332.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1454, allocations: 183.3 kB / 333 MB, free: 14.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.1454, allocations: 29.7 kB / 333 MB, free: 14.26 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1455, allocations: 107.9 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.1456, allocations: 55.23 kB / 333.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1457, allocations: 41.59 kB / 333.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1459, allocations: 326.8 kB / 333.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.1462, allocations: 75.95 kB / 333.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.1465, allocations: 99.38 kB / 333.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.147, allocations: 191.4 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.147, allocations: 4 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005074/0.1475, allocations: 225.5 kB / 334.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1475, allocations: 7.984 kB / 334.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1475, allocations: 12.03 kB / 334.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1476, allocations: 0 / 334.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1478, allocations: 35.95 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1478, allocations: 4 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.148, allocations: 23.77 kB / 334.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.148, allocations: 8 kB / 334.2 MB, free: 13.02 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.0001279/0.1481, allocations: 129.8 kB / 334.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.1482, allocations: 15.81 kB / 334.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.149, allocations: 274.9 kB / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.149, allocations: 0 / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1491, allocations: 0 / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1491, allocations: 0 / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.1495, allocations: 281.4 kB / 334.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1495, allocations: 0 / 334.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.1498, allocations: 43.89 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1499, allocations: 4 kB / 334.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1499, allocations: 11.94 kB / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1499, allocations: 0 / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1499, allocations: 0 / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.1507, allocations: 339.1 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.1507, allocations: 92.86 kB / 335.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1508, allocations: 11.94 kB / 335.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.151, allocations: 7.984 kB / 335.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.1511, allocations: 15.98 kB / 335.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1512, allocations: 7.984 kB / 335.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1513, allocations: 135.9 kB / 335.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1513, allocations: 0 / 335.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.1517, allocations: 28 kB / 335.5 MB, free: 11.55 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.0001802/0.1519, allocations: 103.2 kB / 335.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.1526, allocations: 183.8 kB / 335.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1526, allocations: 0 / 335.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1529, allocations: 111.8 kB / 335.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.1534, allocations: 24.11 kB / 336 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/0.1543, allocations: 390 kB / 336.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1547, allocations: 0.7244 MB / 337.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.1549, allocations: 37.39 kB / 337.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.155, allocations: 23.42 kB / 337.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.155, allocations: 0 / 337.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Templates: time 0.005739/0.1607, allocations: 1.937 MB / 339.1 MB, free: 7.973 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (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 & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/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