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/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.0008499/0.0008499, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008618/0.0008618, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9443/0.9443, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 299.7 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.809e-05, allocations: 6.281 kB / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003885/0.003923, allocations: 1.562 MB / 301.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.005578, allocations: 0.6591 MB / 301.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.005699, allocations: 4 kB / 301.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.006118, allocations: 47.67 kB / 301.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.006467, allocations: 39.66 kB / 302 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.007801, allocations: 0.5757 MB / 302.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.008083, allocations: 123.5 kB / 302.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.008211, allocations: 17.27 kB / 302.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.008446, allocations: 79.8 kB / 302.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.008638, allocations: 59.84 kB / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.008679, allocations: 12 kB / 302.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.00902, allocations: 111.8 kB / 302.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.009107, allocations: 43.89 kB / 303 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.009164, allocations: 31.84 kB / 303 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.009677, allocations: 231.3 kB / 303.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.009684, allocations: 0 / 303.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.009686, allocations: 0 / 303.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.009699, allocations: 0 / 303.2 MB, free: 3.352 MB / 282.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.001752/0.01145, allocations: 0.5012 MB / 303.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.01151, allocations: 15.92 kB / 303.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.01267, allocations: 188.5 kB / 303.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.01299, allocations: 157.6 kB / 304.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01301, allocations: 8.375 kB / 304.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.01304, allocations: 12.38 kB / 304.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.01347, allocations: 178.1 kB / 304.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01349, allocations: 192 / 304.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.01352, allocations: 8.359 kB / 304.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.01355, allocations: 11.94 kB / 304.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.01394, allocations: 159.9 kB / 304.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01499, allocations: 447.8 kB / 304.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.01536, allocations: 158.5 kB / 305.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.01555, allocations: 84.8 kB / 305.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.01558, allocations: 4 kB / 305.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.01562, allocations: 30.56 kB / 305.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.576e-06/0.01563, allocations: 0 / 305.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007082/0.01633, allocations: 265.4 kB / 305.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.01639, allocations: 59.34 kB / 305.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.01657, allocations: 153.7 kB / 305.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.0166, allocations: 33.7 kB / 305.7 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.0167, allocations: 111.9 kB / 305.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.01674, allocations: 47.64 kB / 305.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.01681, allocations: 29.7 kB / 305.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01693, allocations: 322.8 kB / 306.2 MB, free: 256 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.01709, allocations: 75.94 kB / 306.2 MB, free: 180 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.01725, allocations: 90.52 kB / 306.3 MB, free: 80 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.0176, allocations: 175.2 kB / 306.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.01761, allocations: 0 / 306.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004208/0.01803, allocations: 201.5 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.01805, allocations: 12.06 kB / 306.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01806, allocations: 0 / 306.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.01808, allocations: 7.875 kB / 306.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01828, allocations: 31.97 kB / 306.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.01829, allocations: 11.92 kB / 306.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.01839, allocations: 15.89 kB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01841, allocations: 7.984 kB / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0001295/0.01854, allocations: 133.8 kB / 306.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.01857, allocations: 11.91 kB / 306.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.01909, allocations: 246.2 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.0191, allocations: 7.938 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01911, allocations: 3.938 kB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.01912, allocations: 7.922 kB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.01944, allocations: 189.1 kB / 307.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.01944, allocations: 0 / 307.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.01962, allocations: 39.97 kB / 307.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.01963, allocations: 0 / 307.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.01965, allocations: 11.98 kB / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01965, allocations: 0 / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.01966, allocations: 3.938 kB / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.02015, allocations: 325.8 kB / 307.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.02018, allocations: 11.89 kB / 307.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.02021, allocations: 0 / 307.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.02032, allocations: 11.98 kB / 307.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.02039, allocations: 19.91 kB / 307.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.02041, allocations: 8 kB / 307.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.02051, allocations: 115.2 kB / 307.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.02051, allocations: 0 / 307.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.02083, allocations: 31.95 kB / 307.9 MB, free: 14.4 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 (18): * Single equations (assignments): 18 * 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.000224/0.02105, allocations: 107.2 kB / 308 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.02149, allocations: 164 kB / 308.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.02149, allocations: 0 / 308.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.02168, allocations: 99.86 kB / 308.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.02204, allocations: 8 kB / 308.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.02274, allocations: 351.5 kB / 308.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.02285, allocations: 115.4 kB / 308.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.02295, allocations: 32.47 kB / 308.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02295, allocations: 0 / 308.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004907/0.02785, allocations: 2.113 MB / 310.9 MB, free: 11.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.7153658894822]