Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 168 kB / 25.61 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.859/0.859, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 274.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.652e-05, allocations: 5.547 kB / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002252/0.002269, allocations: 1.723 MB / 275.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.003227, allocations: 0.7339 MB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.003281, allocations: 4.531 kB / 276.6 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.003502, allocations: 49.59 kB / 276.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.003661, allocations: 39.66 kB / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.004285, allocations: 471.9 kB / 277.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.004458, allocations: 124.1 kB / 277.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.004548, allocations: 25.78 kB / 277.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.004655, allocations: 83.69 kB / 277.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.004827, allocations: 75.83 kB / 277.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004848, allocations: 12 kB / 277.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.005014, allocations: 111.9 kB / 277.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.005064, allocations: 43.83 kB / 277.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.005099, allocations: 31.86 kB / 277.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.005327, allocations: 191.3 kB / 277.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005329, allocations: 4 kB / 277.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00533, allocations: 3.938 kB / 277.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005335, allocations: 0 / 277.9 MB, free: 0.7578 MB / 250.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.0007251/0.00606, allocations: 0.5504 MB / 278.4 MB, free: 176 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.006093, allocations: 12.03 kB / 278.4 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.006467, allocations: 108.7 kB / 278.5 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.006621, allocations: 172.3 kB / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.006633, allocations: 4.375 kB / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.006649, allocations: 12.38 kB / 278.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.006816, allocations: 109.7 kB / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006823, allocations: 192 / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.006834, allocations: 8.375 kB / 278.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.006853, allocations: 7.938 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.006929, allocations: 56.64 kB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.007426, allocations: 463.9 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.007571, allocations: 79.16 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.007602, allocations: 23.69 kB / 279.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.007619, allocations: 12.11 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.00764, allocations: 33.39 kB / 279.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.007641, allocations: 0 / 279.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000172/0.007813, allocations: 101.8 kB / 279.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.007838, allocations: 59.28 kB / 279.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.007944, allocations: 227.9 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007958, allocations: 37.7 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.008025, allocations: 174.5 kB / 280.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.008045, allocations: 35.72 kB / 280.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.008088, allocations: 43.31 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.008203, allocations: 0.5001 MB / 280.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.008227, allocations: 8 kB / 280.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.008274, allocations: 62.41 kB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.008358, allocations: 94.3 kB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00836, allocations: 0 / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001285/0.008489, allocations: 109.5 kB / 280.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.008501, allocations: 8 kB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008506, allocations: 0 / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.008516, allocations: 4 kB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.008609, allocations: 27.92 kB / 281 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.008613, allocations: 3.938 kB / 281 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.008661, allocations: 19.94 kB / 281 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.008671, allocations: 12.11 kB / 281 MB, free: 13.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.976e-05/0.008751, allocations: 156.6 kB / 281.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.008777, allocations: 15.91 kB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.008919, allocations: 114.9 kB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.008922, allocations: 4 kB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.008925, allocations: 3.938 kB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008929, allocations: 4 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.00906, allocations: 141.2 kB / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009061, allocations: 0 / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.009125, allocations: 23.98 kB / 281.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009128, allocations: 4 kB / 281.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.009137, allocations: 7.984 kB / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009138, allocations: 0 / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009139, allocations: 0 / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.009296, allocations: 247.6 kB / 281.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.00933, allocations: 23.89 kB / 281.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.009344, allocations: 4 kB / 281.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.009396, allocations: 4 kB / 281.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.00943, allocations: 7.969 kB / 281.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.009437, allocations: 8 kB / 281.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.009496, allocations: 164.7 kB / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009496, allocations: 0 / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000176/0.009672, allocations: 31.94 kB / 281.9 MB, free: 12.38 MB / 266.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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.682e-05/0.009769, allocations: 103.2 kB / 282 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.009886, allocations: 67.64 kB / 282.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.009887, allocations: 0 / 282.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.00993, allocations: 39.61 kB / 282.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01013, allocations: 19.97 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.01067, allocations: 294.6 kB / 282.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.01072, allocations: 79.5 kB / 282.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.01077, allocations: 8.656 kB / 282.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.01086, allocations: 94.19 kB / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01086, allocations: 0 / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Templates: time 0.00383/0.01469, allocations: 1.747 MB / 284.4 MB, free: 9.891 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.538814795203507]