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.001046/0.001046, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001068/0.001068, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 47.94 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2527, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003099/0.2559, allocations: 1.64 MB / 403 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2573, allocations: 0.6504 MB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.2575, allocations: 0 / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2577, allocations: 51.72 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.258, allocations: 35.72 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.2592, allocations: 0.5992 MB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2595, allocations: 113.8 kB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2596, allocations: 33.09 kB / 404.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.2598, allocations: 59.77 kB / 404.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.26, allocations: 75.67 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.26, allocations: 12 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.2603, allocations: 135.8 kB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.2604, allocations: 35.83 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.2604, allocations: 59.67 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.2608, allocations: 219.3 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2608, allocations: 0 / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2608, allocations: 0 / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2608, allocations: 0 / 405.1 MB, free: 5.16 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.001616/0.2624, allocations: 0.5585 MB / 405.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2625, allocations: 12.03 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.264, allocations: 168.5 kB / 405.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2642, allocations: 199.2 kB / 406 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2642, allocations: 4.375 kB / 406 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2643, allocations: 12.38 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.2647, allocations: 181.8 kB / 406.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2647, allocations: 0 / 406.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2647, allocations: 4 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.2648, allocations: 7.984 kB / 406.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.2653, allocations: 167.9 kB / 406.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2665, allocations: 0.539 MB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.2669, allocations: 162.5 kB / 407.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.2672, allocations: 96.8 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2672, allocations: 0 / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2672, allocations: 34.5 kB / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.975e-06/0.2673, allocations: 0 / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007945/0.2681, allocations: 269.6 kB / 407.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2681, allocations: 55.41 kB / 407.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.2683, allocations: 182.4 kB / 407.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2684, allocations: 29.7 kB / 407.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.2685, allocations: 116.2 kB / 407.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2685, allocations: 43.34 kB / 407.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.2686, allocations: 37.69 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2687, allocations: 326.8 kB / 408.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2689, allocations: 63.95 kB / 408.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.2691, allocations: 98.52 kB / 408.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.2695, allocations: 170 kB / 408.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2696, allocations: 0 / 408.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000482/0.27, allocations: 209.4 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2701, allocations: 11.92 kB / 408.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2701, allocations: 4 kB / 408.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2701, allocations: 4 kB / 408.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2704, allocations: 31.97 kB / 408.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2704, allocations: 0 / 408.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.2705, allocations: 27.81 kB / 408.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2706, allocations: 12 kB / 408.9 MB, free: 1.145 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 0.0001191/0.2707, allocations: 129.8 kB / 409 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.2708, allocations: 15.75 kB / 409 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.2713, allocations: 250.9 kB / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2714, allocations: 3.984 kB / 409.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2714, allocations: 7.938 kB / 409.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2714, allocations: 88.92 kB / 409.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2715, allocations: 8 kB / 409.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2717, allocations: 7.984 kB / 409.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.2717, allocations: 15.98 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006015/0.2723, allocations: 299.5 kB / 409.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005668/0.2729, allocations: 406.2 kB / 410.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002083/0.2731, allocations: 95.92 kB / 410.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2733, allocations: 144.2 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Backend: time 8.22e-07/0.2733, allocations: 0 / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.274, allocations: 210.2 kB / 410.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006785/0.2747, allocations: 0.7237 MB / 411.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.006789/0.2815, allocations: 3.007 MB / 414.2 MB, free: 11.66 MB / 334.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 -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