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.0006676/0.0006676, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004333/0.004333, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.9113/0.9113, allocations: 177.1 MB / 205 MB, free: 5.742 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.292e-06/1.292e-06, allocations: 0 / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.509e-05, allocations: 2.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001998/0.002023, allocations: 1.689 MB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.002941, allocations: 0.7203 MB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.002991, allocations: 4 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.003206, allocations: 47.67 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003366, allocations: 47.64 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.003977, allocations: 470 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.00416, allocations: 131.5 kB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.004259, allocations: 21.8 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.004357, allocations: 79.8 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.004532, allocations: 71.8 kB / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.004553, allocations: 8 kB / 329.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.00473, allocations: 119.8 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.004781, allocations: 35.84 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.004821, allocations: 39.84 kB / 329.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.00508, allocations: 223.3 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005082, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005083, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005088, allocations: 0 / 329.5 MB, free: 11.76 MB / 298.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.0008108/0.005899, allocations: 461.3 kB / 329.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005931, allocations: 8.031 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.006293, allocations: 108.7 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.006474, allocations: 167.9 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006489, allocations: 8.375 kB / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.006506, allocations: 12.38 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.006757, allocations: 162 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006765, allocations: 4.125 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.006781, allocations: 8.312 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.006803, allocations: 15.92 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.007035, allocations: 151.9 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.007661, allocations: 464.6 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.007917, allocations: 130.6 kB / 331.1 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.008017, allocations: 68.81 kB / 331.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.008041, allocations: 3.984 kB / 331.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.008062, allocations: 30.56 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.008064, allocations: 0 / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.008433, allocations: 217.6 kB / 331.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.008474, allocations: 55.34 kB / 331.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.008606, allocations: 180.2 kB / 331.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.00862, allocations: 25.7 kB / 331.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.008696, allocations: 131.6 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.008717, allocations: 35.7 kB / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.008763, allocations: 33.66 kB / 331.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.008857, allocations: 322.8 kB / 332.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.008948, allocations: 59.95 kB / 332.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.009055, allocations: 88.25 kB / 332.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.009257, allocations: 152.2 kB / 332.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.00926, allocations: 4 kB / 332.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002403/0.0095, allocations: 189.8 kB / 332.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.00952, allocations: 11.98 kB / 332.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.009527, allocations: 3.938 kB / 332.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.009543, allocations: 7.938 kB / 332.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.009633, allocations: 31.92 kB / 332.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.00964, allocations: 4 kB / 332.8 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.009696, allocations: 16.06 kB / 332.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.009707, allocations: 8 kB / 332.8 MB, free: 8.246 MB / 298.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 8.968e-05/0.009797, allocations: 133.8 kB / 332.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.009819, allocations: 7.953 kB / 332.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.0101, allocations: 190.9 kB / 333.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.01011, allocations: 3.938 kB / 333.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01011, allocations: 0 / 333.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01012, allocations: 0 / 333.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01027, allocations: 177.2 kB / 333.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01027, allocations: 0 / 333.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.01035, allocations: 27.92 kB / 333.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01035, allocations: 3.938 kB / 333.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01036, allocations: 4 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01036, allocations: 0 / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01037, allocations: 3.938 kB / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.01062, allocations: 263.4 kB / 333.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.01066, allocations: 19.94 kB / 333.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01068, allocations: 4 kB / 333.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.01074, allocations: 11.98 kB / 333.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.01078, allocations: 11.92 kB / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.01079, allocations: 0 / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.068e-05/0.01086, allocations: 140.9 kB / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 0 / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01104, allocations: 31.89 kB / 333.8 MB, free: 7.176 MB / 298.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 0.0001206/0.01116, allocations: 115.1 kB / 333.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.01139, allocations: 135.8 kB / 334 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.0114, allocations: 0 / 334 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.01148, allocations: 63.91 kB / 334.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.01169, allocations: 12.23 kB / 334.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.01218, allocations: 347.9 kB / 334.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.01226, allocations: 110.9 kB / 334.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.01231, allocations: 24.48 kB / 334.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01231, allocations: 3.938 kB / 334.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002687/0.015, allocations: 1.972 MB / 336.6 MB, free: 4.352 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.330724377185106]