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.0009317/0.0009321, allocations: 92 kB / 17.3 MB, free: 6.391 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.000914/0.0009143, allocations: 172.7 kB / 18.2 MB, free: 5.551 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.882/1.882, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004844/0.0004847, allocations: 8 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.59 MB / 328.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001818/0.1145, allocations: 1.296 MB / 330.2 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1157, allocations: 0.6749 MB / 330.9 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.1158, allocations: 4 kB / 330.9 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.116, allocations: 47.84 kB / 331 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1162, allocations: 31.84 kB / 331 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1174, allocations: 0.5722 MB / 331.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1176, allocations: 99.75 kB / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1177, allocations: 29.05 kB / 331.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1179, allocations: 59.7 kB / 331.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1181, allocations: 71.69 kB / 331.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1181, allocations: 4 kB / 331.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1184, allocations: 139.8 kB / 332 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1184, allocations: 31.89 kB / 332 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.1185, allocations: 77.31 kB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.1189, allocations: 211.7 kB / 332.3 MB, free: 428 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1189, allocations: 4 kB / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1189, allocations: 0 / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.119, allocations: 0 / 332.3 MB, free: 424 kB / 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.00146/0.1204, allocations: 0.538 MB / 332.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1205, allocations: 8.031 kB / 332.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.1218, allocations: 176.5 kB / 333 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.122, allocations: 196 kB / 333.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.122, allocations: 4.375 kB / 333.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.122, allocations: 16.38 kB / 333.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.1225, allocations: 193.9 kB / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1225, allocations: 4 kB / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1225, allocations: 0 / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.1226, allocations: 8 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.123, allocations: 175.9 kB / 333.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1241, allocations: 0.5508 MB / 334.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.1245, allocations: 182.4 kB / 334.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1247, allocations: 104.8 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1248, allocations: 7.984 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1248, allocations: 34.56 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1248, allocations: 0 / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007308/0.1256, allocations: 308.7 kB / 334.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1256, allocations: 55.34 kB / 334.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1258, allocations: 183.3 kB / 335 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1258, allocations: 25.7 kB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1259, allocations: 116 kB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1259, allocations: 47.2 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.126, allocations: 21.7 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1261, allocations: 326.8 kB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.1263, allocations: 75.95 kB / 335.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1265, allocations: 107.4 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.127, allocations: 199.3 kB / 335.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.127, allocations: 0 / 335.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006513/0.1276, allocations: 245.6 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1277, allocations: 4 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1277, allocations: 7.938 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1277, allocations: 0 / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1279, allocations: 47.89 kB / 336.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.128, allocations: 0 / 336.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1281, allocations: 23.83 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1282, allocations: 4 kB / 336.2 MB, free: 12.23 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.0001276/0.1283, allocations: 133.9 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1283, allocations: 11.91 kB / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.1289, allocations: 290.7 kB / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.129, allocations: 4 kB / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.129, allocations: 0 / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.129, allocations: 0 / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.1293, allocations: 281.4 kB / 336.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1293, allocations: 0 / 336.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.1295, allocations: 43.89 kB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1295, allocations: 4 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1296, allocations: 7.938 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1296, allocations: 0 / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1296, allocations: 4 kB / 337 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.1301, allocations: 339.2 kB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1302, allocations: 100.8 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1302, allocations: 7.938 kB / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1304, allocations: 19.98 kB / 337.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.1305, allocations: 11.97 kB / 337.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1305, allocations: 11.98 kB / 337.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1306, allocations: 135.9 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1306, allocations: 0 / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1309, allocations: 28 kB / 337.6 MB, free: 10.73 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.0001458/0.131, allocations: 115.1 kB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.1316, allocations: 199.9 kB / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1316, allocations: 0 / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1319, allocations: 115.8 kB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1322, allocations: 12 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.1329, allocations: 384.3 kB / 338.4 MB, free: 9.883 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1332, allocations: 0.7322 MB / 339.2 MB, free: 9.125 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1333, allocations: 25.42 kB / 339.2 MB, free: 9.102 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.1334, allocations: 27.41 kB / 339.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of SimCode: time 1.954e-06/0.1334, allocations: 0 / 339.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of Templates: time 0.004827/0.1382, allocations: 1.906 MB / 341.1 MB, free: 7.164 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