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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.4 MB / 235.5 MB, free: 2.953 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.0008749/0.0008746, allocations: 98 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 343.8 MB, free: 4.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08201, allocations: 50.42 MB / 394.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.3649, allocations: 77.81 MB / 472 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.3651, allocations: 69.78 kB / 472.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.3766, allocations: 3.794 MB / 475.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3767, allocations: 0 / 475.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3767, allocations: 4 kB / 475.9 MB, free: 5.969 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.001981/0.3787, allocations: 0.6396 MB / 476.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3787, allocations: 8.031 kB / 476.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3788, allocations: 19.77 kB / 476.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.379, allocations: 187.5 kB / 476.8 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.379, allocations: 12.17 kB / 476.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.379, allocations: 12 kB / 476.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.3793, allocations: 170.7 kB / 476.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3794, allocations: 4 kB / 476.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3794, allocations: 11.89 kB / 477 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3794, allocations: 4 kB / 477 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.3797, allocations: 168.4 kB / 477.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3807, allocations: 0.5559 MB / 477.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.3811, allocations: 162.5 kB / 477.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3812, allocations: 80.83 kB / 477.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3813, allocations: 4 kB / 477.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3813, allocations: 38.55 kB / 478 MB, free: 3.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3813, allocations: 0 / 478 MB, free: 3.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003792/0.3817, allocations: 181.5 kB / 478.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3817, allocations: 59.36 kB / 478.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3819, allocations: 170.4 kB / 478.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3819, allocations: 25.7 kB / 478.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.382, allocations: 111.9 kB / 478.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.3821, allocations: 47.3 kB / 478.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.3821, allocations: 0 / 478.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3822, allocations: 330.8 kB / 478.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3823, allocations: 55.98 kB / 478.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3824, allocations: 93.09 kB / 479 MB, free: 2.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.3826, allocations: 75.89 kB / 479.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3826, allocations: 0 / 479.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000348/0.3829, allocations: 202.4 kB / 479.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.383, allocations: 8 kB / 479.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.383, allocations: 4.094 kB / 479.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.383, allocations: 0 / 479.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3832, allocations: 39.91 kB / 479.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3833, allocations: 7.938 kB / 479.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3834, allocations: 31.78 kB / 479.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3835, allocations: 7.984 kB / 479.4 MB, free: 2.262 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 8.1e-05/0.3835, allocations: 113 kB / 479.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.3836, allocations: 15.81 kB / 479.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.384, allocations: 237.5 kB / 479.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3841, allocations: 0 / 479.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3841, allocations: 0 / 479.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3841, allocations: 3.984 kB / 479.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3844, allocations: 289.3 kB / 480 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3844, allocations: 0 / 480 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3846, allocations: 47.91 kB / 480.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3846, allocations: 0 / 480.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3847, allocations: 11.98 kB / 480.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3847, allocations: 0 / 480.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3847, allocations: 0 / 480.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.3851, allocations: 311.1 kB / 480.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.3851, allocations: 96.86 kB / 480.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3852, allocations: 3.984 kB / 480.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3853, allocations: 16 kB / 480.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3854, allocations: 15.97 kB / 480.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3854, allocations: 4 kB / 480.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3855, allocations: 140.3 kB / 480.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3856, allocations: 0 / 480.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.3858, allocations: 32 kB / 480.7 MB, free: 0.8594 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.0001551/0.386, allocations: 119.2 kB / 480.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.3863, allocations: 166.6 kB / 481 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3863, allocations: 0 / 481 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3865, allocations: 91.91 kB / 481.1 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.3867, allocations: 17.48 kB / 481.1 MB, free: 476 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.3872, allocations: 249.7 kB / 481.3 MB, free: 208 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3875, allocations: 0.7361 MB / 482.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3876, allocations: 29.2 kB / 482.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.3877, allocations: 23.41 kB / 482.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3877, allocations: 4 kB / 482.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Templates: time 0.004261/0.392, allocations: 1.819 MB / 483.9 MB, free: 13.58 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