Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001822, allocations: 65.66 kB / 307 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003309/0.136, allocations: 1.682 MB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1375, allocations: 0.7765 MB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.1375, allocations: 8 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1379, allocations: 51.72 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1381, allocations: 39.72 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1391, allocations: 0.4941 MB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1394, allocations: 123.6 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1396, allocations: 33.53 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1397, allocations: 59.7 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1399, allocations: 87.67 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.14, allocations: 8 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.1402, allocations: 123.8 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.1403, allocations: 39.83 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.1404, allocations: 59.61 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1407, allocations: 203.7 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1408, allocations: 4 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1408, allocations: 0 / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1408, allocations: 0 / 361.3 MB, free: 10.25 MB / 302.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.001412/0.1422, allocations: 0.5376 MB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1422, allocations: 12.03 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.1429, allocations: 96.64 kB / 361.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1431, allocations: 203.3 kB / 362.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1432, allocations: 8.375 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1432, allocations: 4.375 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1436, allocations: 169.8 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1436, allocations: 4 kB / 362.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1436, allocations: 4 kB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.1437, allocations: 8 kB / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.1441, allocations: 155.9 kB / 362.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1451, allocations: 0.5624 MB / 363 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1455, allocations: 146.6 kB / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.1458, allocations: 72.77 kB / 363.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1458, allocations: 0 / 363.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1458, allocations: 34.55 kB / 363.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1458, allocations: 4 kB / 363.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006245/0.1465, allocations: 205.5 kB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1465, allocations: 63.33 kB / 363.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1467, allocations: 206.6 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1468, allocations: 29.7 kB / 363.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.1469, allocations: 124.1 kB / 363.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1469, allocations: 35.45 kB / 363.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.147, allocations: 33.7 kB / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1472, allocations: 326.8 kB / 364.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1473, allocations: 55.95 kB / 364.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1475, allocations: 91.62 kB / 364.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1479, allocations: 164.4 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1479, allocations: 4 kB / 364.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004308/0.1484, allocations: 193.2 kB / 364.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1484, allocations: 6.969 kB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1484, allocations: 0 / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1484, allocations: 7.938 kB / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1486, allocations: 36.09 kB / 364.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1486, allocations: 0 / 364.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1488, allocations: 23.83 kB / 364.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1488, allocations: 4 kB / 364.9 MB, free: 6.418 MB / 302.1 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 0.0001263/0.1489, allocations: 130.9 kB / 365 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.149, allocations: 19.75 kB / 365 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.1494, allocations: 191 kB / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1494, allocations: 0 / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1495, allocations: 0 / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1495, allocations: 0 / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1498, allocations: 257.4 kB / 365.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1498, allocations: 4 kB / 365.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.15, allocations: 23.92 kB / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.15, allocations: 0 / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.15, allocations: 8 kB / 365.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.15, allocations: 0 / 365.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.15, allocations: 4 kB / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.1505, allocations: 259.2 kB / 365.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.1506, allocations: 104.8 kB / 365.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1506, allocations: 11.98 kB / 365.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1507, allocations: 4 kB / 365.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.1508, allocations: 15.92 kB / 365.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1508, allocations: 4 kB / 365.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.151, allocations: 160.8 kB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.151, allocations: 0 / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1512, allocations: 24 kB / 366.1 MB, free: 5.125 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 (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.0001639/0.1514, allocations: 103.2 kB / 366.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1519, allocations: 151.9 kB / 366.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1519, allocations: 0 / 366.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1521, allocations: 68.11 kB / 366.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1524, allocations: 28.08 kB / 366.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.1531, allocations: 326.1 kB / 366.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1535, allocations: 0.7201 MB / 367.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1537, allocations: 29.41 kB / 367.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.1537, allocations: 23.36 kB / 367.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1538, allocations: 0 / 367.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Templates: time 0.005477/0.1592, allocations: 1.597 MB / 369.1 MB, free: 2.035 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches