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: 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_4.0.0_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_4.0.0_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.001059/0.001059, allocations: 113.5 kB / 17.69 MB, free: 5.309 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.001174/0.001174, allocations: 191 kB / 18.63 MB, free: 4.375 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.438/1.438, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.62 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1237, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003103/0.1268, allocations: 1.632 MB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.128, allocations: 0.6363 MB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.128, allocations: 4 kB / 353.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1283, allocations: 51.72 kB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1285, allocations: 39.72 kB / 353.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1296, allocations: 0.5992 MB / 354.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1299, allocations: 103.7 kB / 354.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.13, allocations: 41.08 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1301, allocations: 59.72 kB / 354.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1303, allocations: 83.66 kB / 354.7 MB, free: 456 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1304, allocations: 8 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.1306, allocations: 135.9 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1306, allocations: 35.8 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.1307, allocations: 59.64 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1311, allocations: 219.4 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1311, allocations: 0 / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1311, allocations: 0 / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1311, allocations: 0 / 355.2 MB, free: 15.99 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.001606/0.1327, allocations: 0.5573 MB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1328, allocations: 11.89 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.1341, allocations: 168.5 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1344, allocations: 208 kB / 356.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1344, allocations: 4.375 kB / 356.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1345, allocations: 8.375 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1349, allocations: 186.4 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1349, allocations: 0 / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1349, allocations: 8 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.1349, allocations: 7.984 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.1353, allocations: 159.9 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1363, allocations: 0.5352 MB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.1367, allocations: 166.4 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1369, allocations: 92.8 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.137, allocations: 4 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.137, allocations: 42.69 kB / 357.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.137, allocations: 4 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006841/0.1377, allocations: 264.9 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1378, allocations: 55.41 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.138, allocations: 182.4 kB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.138, allocations: 29.7 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.1381, allocations: 108.2 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1381, allocations: 51.36 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.1382, allocations: 37.69 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1383, allocations: 318.8 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1385, allocations: 67.95 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.1387, allocations: 90.45 kB / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1391, allocations: 170.4 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1391, allocations: 0 / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004289/0.1395, allocations: 213.3 kB / 358.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1395, allocations: 11.94 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1395, allocations: 8 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1396, allocations: 0 / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1398, allocations: 35.97 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1398, allocations: 0 / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.14, allocations: 19.89 kB / 359 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.14, allocations: 4 kB / 359 MB, free: 11.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001266/0.1401, allocations: 133.7 kB / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.1402, allocations: 19.75 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/0.1408, allocations: 255 kB / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1408, allocations: 0 / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1408, allocations: 0 / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1408, allocations: 7.984 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1411, allocations: 265.5 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1411, allocations: 3.938 kB / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1413, allocations: 35.97 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1413, allocations: 3.938 kB / 359.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1414, allocations: 15.98 kB / 359.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1414, allocations: 7.938 kB / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1414, allocations: 0 / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.1419, allocations: 317.4 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1419, allocations: 104.8 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.142, allocations: 0 / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1421, allocations: 15.98 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.1422, allocations: 11.98 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1422, allocations: 7.984 kB / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1423, allocations: 140.2 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1423, allocations: 0 / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1426, allocations: 28 kB / 360.3 MB, free: 10.54 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 (18): * Single equations (assignments): 18 * 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.0001425/0.1428, allocations: 111.2 kB / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.1432, allocations: 171.7 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1432, allocations: 0 / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.1434, allocations: 103.9 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1437, allocations: 13.55 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.1443, allocations: 328.5 kB / 361 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1446, allocations: 0.728 MB / 361.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1447, allocations: 33.41 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.1448, allocations: 23.36 kB / 361.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1448, allocations: 0 / 361.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Templates: time 0.004651/0.1495, allocations: 1.954 MB / 363.7 MB, free: 7.039 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (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 & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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