Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001638/0.001637, allocations: 176.1 kB / 8.152 MB, free: 2.18 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.665/1.665, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 93.28 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.876e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 47.55 MB / 361.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3995, allocations: 76.17 MB / 438 MB, free: 9.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.3999, allocations: 66.03 kB / 438.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0177/0.4176, allocations: 3.374 MB / 441.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.4177, allocations: 4 kB / 441.4 MB, free: 6.512 MB / 330.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.003538/0.4212, allocations: 0.6423 MB / 442.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4213, allocations: 12.03 kB / 442.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.4214, allocations: 12.62 kB / 442.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.4216, allocations: 191.6 kB / 442.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.4217, allocations: 4 kB / 442.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.4217, allocations: 8 kB / 442.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005506/0.4223, allocations: 160.2 kB / 442.5 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.4227, allocations: 154.5 kB / 442.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4228, allocations: 4 kB / 442.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.4228, allocations: 3.906 kB / 442.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4228, allocations: 4 kB / 442.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.4243, allocations: 0.5083 MB / 443.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.4248, allocations: 156.5 kB / 443.3 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.425, allocations: 85.39 kB / 443.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.4251, allocations: 3.984 kB / 443.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4251, allocations: 34.56 kB / 443.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.4251, allocations: 0 / 443.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006369/0.4258, allocations: 185.1 kB / 443.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.4258, allocations: 55.41 kB / 443.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.426, allocations: 130.6 kB / 443.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.4261, allocations: 25.7 kB / 443.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.4262, allocations: 174.4 kB / 444 MB, free: 3.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.4262, allocations: 51.2 kB / 444 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4263, allocations: 0 / 444 MB, free: 3.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4264, allocations: 318.8 kB / 444.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.4266, allocations: 59.98 kB / 444.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.4268, allocations: 87.34 kB / 444.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4271, allocations: 73.89 kB / 444.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4271, allocations: 0 / 444.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005602/0.4276, allocations: 190.5 kB / 444.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4277, allocations: 8.094 kB / 444.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4277, allocations: 4.562 kB / 444.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4277, allocations: 2.75 kB / 444.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.4282, allocations: 39.91 kB / 444.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4283, allocations: 3.906 kB / 444.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4285, allocations: 23.92 kB / 444.8 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4286, allocations: 7.984 kB / 444.8 MB, free: 2.938 MB / 330.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 8.285e-05/0.4287, allocations: 32.23 kB / 444.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.4288, allocations: 11.91 kB / 444.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.4295, allocations: 229.9 kB / 445.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4295, allocations: 4 kB / 445.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4296, allocations: 7.984 kB / 445.1 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4296, allocations: 3.984 kB / 445.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.43, allocations: 246 kB / 445.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4301, allocations: 0 / 445.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.4305, allocations: 39.97 kB / 445.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4306, allocations: 0 / 445.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4306, allocations: 3.984 kB / 445.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.4306, allocations: 4 kB / 445.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4306, allocations: 4 kB / 445.4 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006109/0.4312, allocations: 303.2 kB / 445.7 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.4313, allocations: 92.86 kB / 445.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4314, allocations: 0 / 445.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.4317, allocations: 11.98 kB / 445.8 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.4318, allocations: 13.05 kB / 445.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.4318, allocations: 15.89 kB / 445.8 MB, free: 1.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001477/0.432, allocations: 109.7 kB / 445.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.4324, allocations: 35.94 kB / 446 MB, free: 1.715 MB / 330.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.0002093/0.4326, allocations: 107.2 kB / 446.1 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.4331, allocations: 158.7 kB / 446.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4331, allocations: 4.062 kB / 446.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.4334, allocations: 87.91 kB / 446.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4337, allocations: 11.47 kB / 446.3 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.4346, allocations: 257 kB / 446.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.4351, allocations: 0.7664 MB / 447.3 MB, free: 280 kB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4351, allocations: 0 / 447.3 MB, free: 280 kB / 330.7 MB Notification: Performance of Templates: time 0.005571/0.4407, allocations: 2.054 MB / 449.4 MB, free: 14.25 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches