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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.368e-05, allocations: 2.312 kB / 267.3 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003183/0.003217, allocations: 1.629 MB / 268.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.004599, allocations: 0.6307 MB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.004658, allocations: 4 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.00494, allocations: 51.64 kB / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.005143, allocations: 35.67 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.006478, allocations: 0.5601 MB / 270.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.006708, allocations: 123.6 kB / 270.3 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.006809, allocations: 17.2 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.007011, allocations: 79.8 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.007191, allocations: 67.84 kB / 270.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.007224, allocations: 12 kB / 270.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.007452, allocations: 95.86 kB / 270.6 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.007532, allocations: 43.83 kB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.007597, allocations: 31.84 kB / 270.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.00802, allocations: 231.3 kB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008024, allocations: 0 / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.008025, allocations: 0 / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.008032, allocations: 0 / 270.9 MB, free: 3.168 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.001624/0.009656, allocations: 0.5853 MB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.009695, allocations: 8.922 kB / 271.5 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.01109, allocations: 188.6 kB / 271.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.01135, allocations: 160.4 kB / 271.8 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01137, allocations: 4.375 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.0114, allocations: 12.38 kB / 271.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.01176, allocations: 154.1 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01177, allocations: 192 / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.01179, allocations: 8.375 kB / 272 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.01182, allocations: 7.938 kB / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.01218, allocations: 139.9 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01322, allocations: 0.4953 MB / 272.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.0136, allocations: 151 kB / 272.8 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.01378, allocations: 75.59 kB / 272.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.01381, allocations: 4 kB / 272.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.01385, allocations: 33.39 kB / 272.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01385, allocations: 0 / 272.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000646/0.0145, allocations: 221.8 kB / 273.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.01454, allocations: 55.34 kB / 273.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.01477, allocations: 220.9 kB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.0148, allocations: 29.7 kB / 273.4 MB, free: 488 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01494, allocations: 166.7 kB / 273.6 MB, free: 316 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.01499, allocations: 47.62 kB / 273.6 MB, free: 268 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.01509, allocations: 51.3 kB / 273.6 MB, free: 208 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002976/0.01539, allocations: 0.4962 MB / 274.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.01554, allocations: 51.91 kB / 274.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.01573, allocations: 98.95 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01605, allocations: 143 kB / 274.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.01605, allocations: 3.938 kB / 274.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004382/0.01649, allocations: 193 kB / 274.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01651, allocations: 7.938 kB / 274.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01652, allocations: 3.984 kB / 274.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.01654, allocations: 7.938 kB / 274.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.01676, allocations: 32.03 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.01677, allocations: 4 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01689, allocations: 11.95 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.01692, allocations: 7.984 kB / 274.7 MB, free: 15.11 MB / 266.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.0001776/0.01709, allocations: 172.5 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.01714, allocations: 15.95 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.01769, allocations: 217.2 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.0177, allocations: 7.938 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.0177, allocations: 4 kB / 275.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01771, allocations: 4 kB / 275.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.01802, allocations: 204.6 kB / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01802, allocations: 0 / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.01824, allocations: 43.91 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01824, allocations: 0 / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01826, allocations: 0 / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01826, allocations: 4 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01826, allocations: 3.938 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.0188, allocations: 347.7 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.01883, allocations: 23.84 kB / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.01886, allocations: 0 / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.01902, allocations: 11.98 kB / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.01909, allocations: 15.91 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.0191, allocations: 8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.01924, allocations: 158.2 kB / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01924, allocations: 0 / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01952, allocations: 31.94 kB / 275.9 MB, free: 13.8 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 (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.0001776/0.0197, allocations: 103.2 kB / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.02013, allocations: 163 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02014, allocations: 3.938 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.02034, allocations: 91.58 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.02064, allocations: 26.58 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.02136, allocations: 326.7 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.0215, allocations: 111.4 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.02161, allocations: 29.11 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.0217, allocations: 24.48 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0217, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Templates: time 0.006131/0.02783, allocations: 1.917 MB / 278.7 MB, free: 10.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.675231613917276]