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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [: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 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 178.7 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.2 MB / 214.1 MB, free: 5.176 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.000892, allocations: 87.31 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.542e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.07844, allocations: 47.57 MB / 362.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.3229, allocations: 76.16 MB / 438.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.3231, allocations: 66.3 kB / 438.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01012/0.3333, allocations: 3.384 MB / 442.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3333, allocations: 3.969 kB / 442.1 MB, free: 10.51 MB / 314.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.001996/0.3353, allocations: 0.637 MB / 442.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3353, allocations: 12.33 kB / 442.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.3354, allocations: 13.41 kB / 442.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3355, allocations: 192.3 kB / 443 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3356, allocations: 3.875 kB / 443 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3356, allocations: 7.688 kB / 443 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003021/0.3359, allocations: 162.5 kB / 443.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3362, allocations: 155.7 kB / 443.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3362, allocations: 0 / 443.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3362, allocations: 8.562 kB / 443.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3362, allocations: 3.844 kB / 443.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008744/0.3371, allocations: 0.5013 MB / 443.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3373, allocations: 159.1 kB / 444 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3374, allocations: 83.83 kB / 444.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3375, allocations: 0 / 444.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.3375, allocations: 39.3 kB / 444.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3375, allocations: 0 / 444.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003327/0.3378, allocations: 173.5 kB / 444.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.3378, allocations: 57.56 kB / 444.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.338, allocations: 143.9 kB / 444.5 MB, free: 9.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.338, allocations: 25.7 kB / 444.5 MB, free: 9.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.338, allocations: 107.2 kB / 444.6 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3381, allocations: 54.19 kB / 444.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.3381, allocations: 0 / 444.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.3381, allocations: 325.5 kB / 445 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.3382, allocations: 57.3 kB / 445 MB, free: 8.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.3383, allocations: 93.59 kB / 445.1 MB, free: 8.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3385, allocations: 66.5 kB / 445.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3385, allocations: 0 / 445.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000282/0.3388, allocations: 195.2 kB / 445.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.3388, allocations: 7.75 kB / 445.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3388, allocations: 4.094 kB / 445.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3388, allocations: 8.609 kB / 445.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.3391, allocations: 43.62 kB / 445.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3391, allocations: 0 / 445.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.3393, allocations: 22.41 kB / 445.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3393, allocations: 9.812 kB / 445.5 MB, free: 8.715 MB / 314.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 5.489e-05/0.3394, allocations: 101.6 kB / 445.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3394, allocations: 16.11 kB / 445.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.3398, allocations: 228.3 kB / 445.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3398, allocations: 8.312 kB / 445.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3398, allocations: 0.875 kB / 445.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3398, allocations: 1.359 kB / 445.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3401, allocations: 241.7 kB / 446 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3401, allocations: 4.547 kB / 446 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3403, allocations: 43.16 kB / 446.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3403, allocations: 0 / 446.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3404, allocations: 10.09 kB / 446.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3404, allocations: 0 / 446.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3404, allocations: 4.641 kB / 446.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002964/0.3407, allocations: 303 kB / 446.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.3407, allocations: 93.38 kB / 446.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3407, allocations: 0.7031 kB / 446.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3409, allocations: 10.41 kB / 446.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.341, allocations: 13.56 kB / 446.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.341, allocations: 5.891 kB / 446.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.083e-05/0.3411, allocations: 120.2 kB / 446.6 MB, free: 8.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.3414, allocations: 35.55 kB / 446.7 MB, free: 8.043 MB / 314.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.0001411/0.3415, allocations: 112.4 kB / 446.8 MB, free: 7.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3418, allocations: 154.9 kB / 446.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3418, allocations: 192 / 446.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3419, allocations: 95.44 kB / 447 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3422, allocations: 12.97 kB / 447 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.3427, allocations: 225.1 kB / 447.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.343, allocations: 0.7591 MB / 448 MB, free: 7.137 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.343, allocations: 4 kB / 448 MB, free: 7.133 MB / 314.7 MB Notification: Performance of Templates: time 0.004498/0.3475, allocations: 1.93 MB / 450 MB, free: 6.68 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches