Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 210.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003307/0.2878, allocations: 1.682 MB / 434 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2894, allocations: 0.7087 MB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.2895, allocations: 8 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2897, allocations: 55.7 kB / 434.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.29, allocations: 39.72 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.291, allocations: 474.2 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2912, allocations: 123.6 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2913, allocations: 24.62 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2915, allocations: 63.7 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2917, allocations: 79.66 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.2917, allocations: 8 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.2919, allocations: 123.9 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.292, allocations: 31.91 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.2921, allocations: 47.66 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.2924, allocations: 206.9 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2924, allocations: 4 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2924, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2924, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 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.001303/0.2937, allocations: 465.3 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2938, allocations: 11.98 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.2944, allocations: 112.7 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2947, allocations: 165.3 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2947, allocations: 8.359 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.2948, allocations: 20.3 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.2951, allocations: 162.7 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2951, allocations: 0 / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2952, allocations: 3.984 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.2952, allocations: 7.938 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.2956, allocations: 159.9 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2968, allocations: 464 kB / 437.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.2972, allocations: 138.6 kB / 437.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2974, allocations: 64.81 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.2974, allocations: 8 kB / 437.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2975, allocations: 38.48 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.2975, allocations: 0 / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006176/0.2981, allocations: 205.7 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2981, allocations: 51.41 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2983, allocations: 179.2 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2984, allocations: 25.7 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.2985, allocations: 135.8 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2985, allocations: 35.73 kB / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.2986, allocations: 37.66 kB / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2987, allocations: 322.8 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2989, allocations: 51.97 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2991, allocations: 92.23 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.2994, allocations: 160.5 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2994, allocations: 0 / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004321/0.2998, allocations: 193.3 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2999, allocations: 8 kB / 439.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2999, allocations: 0 / 439.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2999, allocations: 0 / 439.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3001, allocations: 40.09 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3001, allocations: 3.938 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3002, allocations: 11.95 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3002, allocations: 7.984 kB / 439.3 MB, free: 15.34 MB / 350.1 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 0.0001242/0.3003, allocations: 130.5 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3004, allocations: 15.84 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.3008, allocations: 186.8 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3008, allocations: 8 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3008, allocations: 0 / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3008, allocations: 0 / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3011, allocations: 173.2 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3011, allocations: 3.984 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3012, allocations: 19.98 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.3012, allocations: 3.938 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3012, allocations: 11.98 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3012, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3012, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3017, allocations: 271.3 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.3017, allocations: 23.89 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3018, allocations: 11.94 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3019, allocations: 4 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.302, allocations: 11.97 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.302, allocations: 8 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3021, allocations: 127.9 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3021, allocations: 4 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.3024, allocations: 27.94 kB / 440.3 MB, free: 14.25 MB / 350.1 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.000152/0.3025, allocations: 107.2 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.303, allocations: 131.8 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.303, allocations: 0 / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.3032, allocations: 72.14 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3035, allocations: 19.28 kB / 440.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.3042, allocations: 359.5 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3043, allocations: 110.8 kB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.3044, allocations: 23.42 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3044, allocations: 0 / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Templates: time 0.00449/0.3089, allocations: 1.972 MB / 443.1 MB, free: 11.42 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.10839674109593]