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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 181.8 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.000898, allocations: 89.39 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.839e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1841, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07832/0.2625, allocations: 77.08 MB / 464 MB, free: 9.715 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.2627, allocations: 68.78 kB / 464 MB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01113/0.2738, allocations: 3.434 MB / 467.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2739, allocations: 0 / 467.5 MB, free: 6.242 MB / 346.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.001985/0.2759, allocations: 0.6423 MB / 468.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2759, allocations: 8.031 kB / 468.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.276, allocations: 17.31 kB / 468.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2761, allocations: 197.7 kB / 468.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2762, allocations: 4 kB / 468.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2762, allocations: 8 kB / 468.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000299/0.2765, allocations: 168.1 kB / 468.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.2767, allocations: 147.3 kB / 468.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2768, allocations: 0 / 468.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2768, allocations: 3.906 kB / 468.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.2768, allocations: 7.984 kB / 468.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.2777, allocations: 0.5089 MB / 469.2 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.2779, allocations: 155.5 kB / 469.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.278, allocations: 81.52 kB / 469.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2781, allocations: 7.984 kB / 469.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2781, allocations: 42.67 kB / 469.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2781, allocations: 0 / 469.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003791/0.2785, allocations: 180.8 kB / 469.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.2785, allocations: 51.41 kB / 469.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2786, allocations: 139.6 kB / 469.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2787, allocations: 25.7 kB / 469.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.2787, allocations: 104 kB / 469.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.2788, allocations: 51.2 kB / 470 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.2788, allocations: 8.656 kB / 470 MB, free: 3.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.2789, allocations: 318.8 kB / 470.3 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.279, allocations: 55.98 kB / 470.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.2791, allocations: 91.33 kB / 470.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2792, allocations: 67.97 kB / 470.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2792, allocations: 4 kB / 470.5 MB, free: 2.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003265/0.2796, allocations: 195.4 kB / 470.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2796, allocations: 5.594 kB / 470.7 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2796, allocations: 4 kB / 470.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2796, allocations: 0 / 470.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.2799, allocations: 40.77 kB / 470.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2799, allocations: 8.031 kB / 470.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2801, allocations: 23.78 kB / 470.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2801, allocations: 11.98 kB / 470.8 MB, free: 2.699 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.2802, allocations: 101 kB / 470.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.2802, allocations: 15.81 kB / 470.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.2806, allocations: 222.1 kB / 471.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2807, allocations: 7.984 kB / 471.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2807, allocations: 4.781 kB / 471.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2807, allocations: 3.984 kB / 471.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.2809, allocations: 242 kB / 471.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2809, allocations: 0 / 471.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.2812, allocations: 43.97 kB / 471.4 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2812, allocations: 4 kB / 471.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2812, allocations: 9.484 kB / 471.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2812, allocations: 4 kB / 471.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2812, allocations: 0 / 471.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003344/0.2816, allocations: 298.3 kB / 471.7 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.2816, allocations: 96.86 kB / 471.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.2817, allocations: 0 / 471.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2819, allocations: 19.98 kB / 471.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2819, allocations: 7.984 kB / 471.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.282, allocations: 7.984 kB / 471.9 MB, free: 1.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.318e-05/0.282, allocations: 113.5 kB / 472 MB, free: 1.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.2823, allocations: 43.83 kB / 472 MB, free: 1.406 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.2825, allocations: 103.2 kB / 472.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.2828, allocations: 159.8 kB / 472.3 MB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2828, allocations: 4 kB / 472.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2829, allocations: 91.91 kB / 472.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2831, allocations: 12 kB / 472.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.2837, allocations: 227.5 kB / 472.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.284, allocations: 0.7591 MB / 473.4 MB, free: 8 kB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2841, allocations: 3.938 kB / 473.4 MB, free: 4 kB / 346.7 MB Notification: Performance of Templates: time 0.004284/0.2883, allocations: 1.92 MB / 475.3 MB, free: 14.11 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches