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.001145/0.001145, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00134/0.00134, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.65e-05, allocations: 2.312 kB / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004292/0.004329, allocations: 1.729 MB / 274.7 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.006179, allocations: 0.7359 MB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.006296, allocations: 0 / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.006579, allocations: 55.66 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.006786, allocations: 47.64 kB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.007624, allocations: 478 kB / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.007887, allocations: 123.5 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.008014, allocations: 25.78 kB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.008131, allocations: 79.73 kB / 276.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.008335, allocations: 67.8 kB / 276.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.008358, allocations: 12 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.008587, allocations: 115.8 kB / 276.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.008649, allocations: 43.83 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.008696, allocations: 39.84 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.008992, allocations: 183.4 kB / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008996, allocations: 0 / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.008998, allocations: 4 kB / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.009003, allocations: 4 kB / 276.7 MB, free: 14.13 MB / 266.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.0008972/0.0099, allocations: 0.5582 MB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.009938, allocations: 8.031 kB / 277.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.01042, allocations: 116.7 kB / 277.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.01061, allocations: 165.1 kB / 277.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.01063, allocations: 8.375 kB / 277.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.01064, allocations: 8.375 kB / 277.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.01087, allocations: 122.9 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.01087, allocations: 4.172 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.01089, allocations: 4.375 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.01092, allocations: 11.94 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01104, allocations: 71.89 kB / 277.8 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.0117, allocations: 487.3 kB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.01193, allocations: 87.12 kB / 278.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.01198, allocations: 31.84 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.012, allocations: 4 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.01203, allocations: 33.39 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.01203, allocations: 0 / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002599/0.01229, allocations: 121.5 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.01232, allocations: 51.41 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01246, allocations: 234.5 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.01247, allocations: 25.7 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.01255, allocations: 182.5 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.01258, allocations: 31.73 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.01263, allocations: 43.31 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01276, allocations: 0.5 MB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.01281, allocations: 12 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.01288, allocations: 78.16 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.01299, allocations: 98.69 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.013, allocations: 0 / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001663/0.01316, allocations: 125.4 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01318, allocations: 4 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01319, allocations: 4 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.0132, allocations: 3.938 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01331, allocations: 31.98 kB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01331, allocations: 4.062 kB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.01336, allocations: 15.94 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01337, allocations: 7.984 kB / 280 MB, free: 10.64 MB / 266.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.813e-05/0.01346, allocations: 160.6 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.01349, allocations: 19.91 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.01367, allocations: 115 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01368, allocations: 3.938 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01368, allocations: 11.92 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01369, allocations: 0 / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01385, allocations: 168.6 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01385, allocations: 7.984 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.01392, allocations: 19.98 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01393, allocations: 4 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01394, allocations: 4 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01394, allocations: 0 / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.01394, allocations: 3.938 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.01413, allocations: 247.8 kB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.01418, allocations: 23.89 kB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.0142, allocations: 7.938 kB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.01426, allocations: 7.984 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.0143, allocations: 15.92 kB / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.01431, allocations: 4 kB / 280.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.01438, allocations: 164.8 kB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01438, allocations: 0 / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01457, allocations: 31.94 kB / 281 MB, free: 9.566 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 (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.0001284/0.0147, allocations: 103.2 kB / 281.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.01487, allocations: 75.81 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01487, allocations: 0 / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.01493, allocations: 51.53 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01516, allocations: 19.27 kB / 281.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.01586, allocations: 298.8 kB / 281.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.01591, allocations: 75.33 kB / 281.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.01598, allocations: 20.62 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.01603, allocations: 20.44 kB / 281.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01603, allocations: 4 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of Templates: time 0.003651/0.01968, allocations: 1.584 MB / 283.2 MB, free: 7.289 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.998447904828936]