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.001444/0.001444, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001584/0.001584, allocations: 149.4 kB / 24.25 MB, free: 184 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.479/1.479, allocations: 173.4 MB / 200.8 MB, free: 9.305 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.714e-06/1.714e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.44e-05, allocations: 9.969 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003097/0.003132, allocations: 1.616 MB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004607, allocations: 0.6229 MB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.004667, allocations: 4 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.004944, allocations: 39.73 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.005204, allocations: 47.7 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.006664, allocations: 0.5561 MB / 270.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.006894, allocations: 107.7 kB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.007007, allocations: 25.19 kB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.007208, allocations: 79.8 kB / 270.4 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.00738, allocations: 71.78 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.007412, allocations: 12 kB / 270.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.007605, allocations: 91.86 kB / 270.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.007674, allocations: 31.86 kB / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.007738, allocations: 39.84 kB / 270.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.008142, allocations: 227.3 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.008146, allocations: 4 kB / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008147, allocations: 0 / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.008153, allocations: 4 kB / 270.8 MB, free: 3.172 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.001569/0.009721, allocations: 489.4 kB / 271.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.009762, allocations: 8.922 kB / 271.3 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.01114, allocations: 188.6 kB / 271.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.01141, allocations: 157.6 kB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.01143, allocations: 12.31 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.01146, allocations: 8.375 kB / 271.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.01188, allocations: 182.1 kB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.0119, allocations: 192 / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.01192, allocations: 4.375 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.01194, allocations: 7.938 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.01238, allocations: 155.9 kB / 272 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.01339, allocations: 455.9 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.01381, allocations: 154.4 kB / 272.6 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.01405, allocations: 84.8 kB / 272.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.01408, allocations: 4 kB / 272.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.01412, allocations: 30.56 kB / 272.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.01412, allocations: 0 / 272.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000805/0.01493, allocations: 261.8 kB / 273 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01499, allocations: 63.28 kB / 273.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01517, allocations: 152.8 kB / 273.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.0152, allocations: 25.7 kB / 273.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01531, allocations: 123.9 kB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.01535, allocations: 35.66 kB / 273.4 MB, free: 488 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.01543, allocations: 45.64 kB / 273.4 MB, free: 436 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01562, allocations: 322.8 kB / 273.8 MB, free: 104 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.01581, allocations: 59.95 kB / 273.8 MB, free: 44 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.01605, allocations: 102.5 kB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.01647, allocations: 166.4 kB / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01648, allocations: 0 / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005295/0.01701, allocations: 216.7 kB / 274.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01702, allocations: 4 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01703, allocations: 8.047 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.01706, allocations: 7.938 kB / 274.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.01731, allocations: 31.97 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01732, allocations: 0 / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.01746, allocations: 19.94 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01748, allocations: 4 kB / 274.4 MB, free: 15.47 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.000142/0.01762, allocations: 133.8 kB / 274.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.01767, allocations: 11.95 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.01833, allocations: 250.2 kB / 274.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.01834, allocations: 7.938 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.01834, allocations: 0 / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01835, allocations: 7.922 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.01864, allocations: 193.2 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01864, allocations: 0 / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.01888, allocations: 39.91 kB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01888, allocations: 0 / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.0189, allocations: 8 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.0189, allocations: 4 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01891, allocations: 3.938 kB / 275 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.01952, allocations: 317.9 kB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.01955, allocations: 31.77 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.01958, allocations: 0 / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.01975, allocations: 8 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.01982, allocations: 19.91 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01983, allocations: 7.984 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.01995, allocations: 118.2 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01995, allocations: 4 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.02024, allocations: 28 kB / 275.5 MB, free: 14.25 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.0001925/0.02044, allocations: 103.2 kB / 275.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.02096, allocations: 171.8 kB / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02096, allocations: 0 / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.02121, allocations: 95.88 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.02152, allocations: 15.98 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.02227, allocations: 329 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.02243, allocations: 119.3 kB / 276.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02255, allocations: 29.12 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.02264, allocations: 28.48 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02264, allocations: 0 / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Templates: time 0.006546/0.02919, allocations: 1.904 MB / 278.3 MB, free: 11.43 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] 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.447138022980653]