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.001097/0.001097, allocations: 103.6 kB / 18.4 MB, free: 4.66 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.001061/0.001061, allocations: 187 kB / 19.33 MB, free: 3.738 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.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001269/0.001269, allocations: 51.91 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07602/0.0773, allocations: 46.62 MB / 375.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002394/0.07973, allocations: 1.588 MB / 377.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.08084, allocations: 0.6901 MB / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.0809, allocations: 0 / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.08116, allocations: 55.72 kB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.08135, allocations: 35.78 kB / 378.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.08245, allocations: 0.5991 MB / 378.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.08265, allocations: 107.7 kB / 378.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.08277, allocations: 41.05 kB / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.0829, allocations: 63.7 kB / 379 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.08306, allocations: 83.66 kB / 379.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.08309, allocations: 12 kB / 379.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.08329, allocations: 127.8 kB / 379.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.08336, allocations: 35.89 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.08342, allocations: 63.58 kB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.0837, allocations: 215.4 kB / 379.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.08372, allocations: 4 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.08372, allocations: 0 / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.08374, allocations: 0 / 379.5 MB, free: 0.8984 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.001391/0.08513, allocations: 0.5497 MB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.08518, allocations: 12.03 kB / 380.1 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.08662, allocations: 168.5 kB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.164/0.2506, allocations: 191.8 kB / 380.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2507, allocations: 13.11 kB / 380.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.2508, allocations: 11.81 kB / 380.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.2512, allocations: 171.4 kB / 380.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2513, allocations: 0 / 380.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.2513, allocations: 4.312 kB / 380.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.2513, allocations: 10.03 kB / 380.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.2518, allocations: 170.6 kB / 380.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.2526, allocations: 0.5318 MB / 381.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.253, allocations: 168.8 kB / 381.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2532, allocations: 91.73 kB / 381.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.2533, allocations: 2.781 kB / 381.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2533, allocations: 31.94 kB / 381.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2533, allocations: 0.5469 kB / 381.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006703/0.254, allocations: 267.8 kB / 381.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.254, allocations: 52.78 kB / 381.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2542, allocations: 186.9 kB / 382.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2542, allocations: 27.78 kB / 382.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.2543, allocations: 121.2 kB / 382.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.2543, allocations: 40.09 kB / 382.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.2544, allocations: 37.73 kB / 382.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.2544, allocations: 327.1 kB / 382.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2546, allocations: 66.52 kB / 382.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2548, allocations: 96.52 kB / 382.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.2552, allocations: 164 kB / 383 MB, free: 12.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2553, allocations: 2.344 kB / 383 MB, free: 12.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004915/0.2558, allocations: 217.5 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2558, allocations: 6.109 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2558, allocations: 1.375 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2558, allocations: 1.375 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.2561, allocations: 38.38 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.2561, allocations: 5.156 kB / 383.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.2562, allocations: 21.78 kB / 383.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2563, allocations: 9.266 kB / 383.3 MB, free: 12.09 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.943e-05/0.2564, allocations: 134.2 kB / 383.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.2564, allocations: 14.44 kB / 383.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.2571, allocations: 253.9 kB / 383.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2571, allocations: 1.688 kB / 383.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2571, allocations: 0 / 383.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.2571, allocations: 103.2 kB / 383.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2572, allocations: 2.078 kB / 383.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2574, allocations: 11.5 kB / 383.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.2574, allocations: 13.25 kB / 383.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005522/0.258, allocations: 307.1 kB / 384.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000493/0.2585, allocations: 404.6 kB / 384.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002247/0.2587, allocations: 91.52 kB / 384.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.2588, allocations: 147.9 kB / 384.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of Backend: time 2.91e-07/0.2588, allocations: 0 / 384.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006447/0.2595, allocations: 208.6 kB / 384.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005011/0.26, allocations: 0.7052 MB / 385.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of Templates: time 0.006614/0.2666, allocations: 3.01 MB / 388.6 MB, free: 10.21 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