Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007758/0.0007758, allocations: 95.67 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002432, allocations: 12 kB / 360.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 51.4 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001699/0.2924, allocations: 1.324 MB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2937, allocations: 1.171 MB / 414.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.2938, allocations: 4 kB / 414.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.2941, allocations: 35.86 kB / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2943, allocations: 29.44 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2953, allocations: 1.007 MB / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2954, allocations: 111.6 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2956, allocations: 25.11 kB / 415.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.2957, allocations: 47.83 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.2959, allocations: 79.61 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2959, allocations: 4 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.2961, allocations: 123.9 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.2962, allocations: 39.83 kB / 416 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.2963, allocations: 73.31 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.2965, allocations: 185 kB / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2965, allocations: 0 / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2966, allocations: 0 / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2966, allocations: 0 / 416.3 MB, free: 21.39 MB / 298.7 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.001301/0.2979, allocations: 0.5068 MB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.2979, allocations: 8.031 kB / 416.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.2985, allocations: 108.6 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2987, allocations: 196 kB / 417.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.2988, allocations: 12.38 kB / 417.1 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2988, allocations: 4.375 kB / 417.1 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2991, allocations: 173.9 kB / 417.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2992, allocations: 0 / 417.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2992, allocations: 7.984 kB / 417.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.2992, allocations: 11.98 kB / 417.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.2996, allocations: 178.5 kB / 417.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.3005, allocations: 0.5587 MB / 418 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3009, allocations: 170.7 kB / 418.2 MB, free: 19.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.3011, allocations: 80.81 kB / 418.3 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3012, allocations: 3.938 kB / 418.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3012, allocations: 42.44 kB / 418.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.3012, allocations: 0 / 418.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005837/0.3018, allocations: 249.5 kB / 418.6 MB, free: 18.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.3018, allocations: 51.41 kB / 418.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.302, allocations: 190.1 kB / 418.8 MB, free: 18.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.302, allocations: 29.7 kB / 418.8 MB, free: 18.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.3021, allocations: 112.2 kB / 419 MB, free: 18.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3021, allocations: 47.36 kB / 419 MB, free: 18.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.3021, allocations: 4 kB / 419 MB, free: 18.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.3022, allocations: 326.8 kB / 419.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3023, allocations: 63.95 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3025, allocations: 117 kB / 419.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.3029, allocations: 181 kB / 419.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3029, allocations: 0 / 419.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000386/0.3033, allocations: 229.3 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3033, allocations: 4 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3033, allocations: 4 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3033, allocations: 0 / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3035, allocations: 31.98 kB / 419.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3035, allocations: 3.984 kB / 419.9 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3036, allocations: 27.91 kB / 420 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3037, allocations: 11.98 kB / 420 MB, free: 17.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 14 * 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.0001132/0.3038, allocations: 129.7 kB / 420.1 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.3038, allocations: 19.75 kB / 420.1 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3043, allocations: 211 kB / 420.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3043, allocations: 8.031 kB / 420.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3043, allocations: 3.938 kB / 420.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3043, allocations: 0 / 420.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3045, allocations: 253.5 kB / 420.6 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3045, allocations: 4 kB / 420.6 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3047, allocations: 27.92 kB / 420.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3047, allocations: 0 / 420.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3047, allocations: 7.984 kB / 420.6 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3047, allocations: 0 / 420.6 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3048, allocations: 4 kB / 420.6 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.3052, allocations: 283.4 kB / 420.9 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3052, allocations: 104.7 kB / 421 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3052, allocations: 7.984 kB / 421 MB, free: 16.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3054, allocations: 8 kB / 421 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3054, allocations: 11.98 kB / 421 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3055, allocations: 4 kB / 421 MB, free: 16.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.3056, allocations: 146.4 kB / 421.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3056, allocations: 0 / 421.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.3058, allocations: 24 kB / 421.2 MB, free: 16.12 MB / 298.7 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 (12): * Single equations (assignments): 11 * 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.0001573/0.306, allocations: 111.2 kB / 421.3 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.3064, allocations: 160 kB / 421.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3064, allocations: 0 / 421.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3066, allocations: 84.55 kB / 421.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3069, allocations: 19.92 kB / 421.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.3075, allocations: 351.8 kB / 421.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3077, allocations: 0.7204 MB / 422.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3079, allocations: 33.02 kB / 422.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.3079, allocations: 23.42 kB / 422.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3079, allocations: 0 / 422.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of Templates: time 0.004385/0.3123, allocations: 1.563 MB / 424.3 MB, free: 13.03 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches