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.001359/0.001359, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001359/0.001359, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.243/1.243, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001095/0.001095, allocations: 51.92 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07536/0.07646, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002645/0.07914, allocations: 1.588 MB / 377.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.0803, allocations: 0.6877 MB / 378.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.0804, allocations: 8 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.08066, allocations: 51.72 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.08086, allocations: 31.78 kB / 378.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.08198, allocations: 0.5991 MB / 378.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.0822, allocations: 111.7 kB / 378.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.08232, allocations: 33.05 kB / 378.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.08248, allocations: 67.7 kB / 379 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.08266, allocations: 83.61 kB / 379 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.0827, allocations: 8 kB / 379 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.08292, allocations: 131.8 kB / 379.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.08299, allocations: 39.89 kB / 379.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.08306, allocations: 47.67 kB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.08339, allocations: 231.3 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.0834, allocations: 0 / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08341, allocations: 0 / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.08342, allocations: 0 / 379.5 MB, free: 0.8867 MB / 318.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.001429/0.08485, allocations: 0.5497 MB / 380 MB, free: 296 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.0849, allocations: 8.031 kB / 380 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.08622, allocations: 172.5 kB / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1471/0.2334, allocations: 194.7 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2334, allocations: 12.02 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.2335, allocations: 9.094 kB / 380.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.234, allocations: 171.7 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.234, allocations: 0 / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.234, allocations: 4.5 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.234, allocations: 9.078 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.2344, allocations: 167.6 kB / 380.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.2353, allocations: 0.5407 MB / 381.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.2357, allocations: 167 kB / 381.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2359, allocations: 93.19 kB / 381.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2359, allocations: 6.922 kB / 381.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.2359, allocations: 35 kB / 381.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.236, allocations: 0 / 381.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006549/0.2366, allocations: 260.1 kB / 381.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2367, allocations: 59.34 kB / 381.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2368, allocations: 186.2 kB / 382.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2368, allocations: 27.08 kB / 382.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.2369, allocations: 113.8 kB / 382.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2369, allocations: 40.52 kB / 382.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.237, allocations: 40.55 kB / 382.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.2371, allocations: 325.6 kB / 382.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.2372, allocations: 67.73 kB / 382.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2374, allocations: 90.03 kB / 382.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.2378, allocations: 169.4 kB / 383 MB, free: 11.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2378, allocations: 2.375 kB / 383 MB, free: 11.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004715/0.2383, allocations: 214.3 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2383, allocations: 6.203 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2383, allocations: 3.406 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2384, allocations: 4.438 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2386, allocations: 36.41 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2386, allocations: 6.281 kB / 383.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.2388, allocations: 17.36 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2388, allocations: 10.48 kB / 383.2 MB, free: 11.8 MB / 318.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 9.12e-05/0.2389, allocations: 134.7 kB / 383.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.239, allocations: 14.44 kB / 383.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.2395, allocations: 248.1 kB / 383.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2396, allocations: 2.047 kB / 383.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2396, allocations: 5.719 kB / 383.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2396, allocations: 0.7031 kB / 383.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.2398, allocations: 278 kB / 383.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2398, allocations: 3.75 kB / 383.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2401, allocations: 38.48 kB / 384 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2401, allocations: 3.938 kB / 384 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2401, allocations: 3.562 kB / 384 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2401, allocations: 1.766 kB / 384 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2401, allocations: 4.812 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.2406, allocations: 321.4 kB / 384.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.2406, allocations: 95.98 kB / 384.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2407, allocations: 6.031 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2408, allocations: 10.52 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2409, allocations: 19.83 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2409, allocations: 4.953 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.241, allocations: 151.6 kB / 384.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.241, allocations: 0.6562 kB / 384.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.2413, allocations: 27.25 kB / 384.6 MB, free: 10.89 MB / 318.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.0001107/0.2414, allocations: 110.5 kB / 384.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.2419, allocations: 175.5 kB / 384.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2419, allocations: 1.125 kB / 384.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2421, allocations: 105.6 kB / 385 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2424, allocations: 18.39 kB / 385 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.2429, allocations: 336.1 kB / 385.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2431, allocations: 0.7261 MB / 386.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.2432, allocations: 27.75 kB / 386.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2432, allocations: 0 / 386.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of Templates: time 0.004528/0.2477, allocations: 2.168 MB / 388.2 MB, free: 9.59 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches