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.001074/0.001074, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001243/0.001243, allocations: 173.6 kB / 25.33 MB, free: 9.422 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.9454/0.9454, allocations: 158.6 MB / 187.2 MB, free: 2.492 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 1.623e-06/1.623e-06, allocations: 0 / 251 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.529e-05, allocations: 2.312 kB / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.005672/0.005697, allocations: 1.616 MB / 252.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.006787, allocations: 0.6629 MB / 253.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.006852, allocations: 4 kB / 253.3 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.007141, allocations: 51.66 kB / 253.3 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.007343, allocations: 51.58 kB / 253.4 MB, free: 1.215 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.008336, allocations: 0.5913 MB / 254 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.008543, allocations: 119.6 kB / 254.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.008637, allocations: 17.3 kB / 254.1 MB, free: 500 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.008786, allocations: 71.81 kB / 254.2 MB, free: 428 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.008923, allocations: 59.86 kB / 254.2 MB, free: 368 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.008945, allocations: 8 kB / 254.2 MB, free: 360 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.00916, allocations: 127.8 kB / 254.4 MB, free: 232 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.00921, allocations: 23.92 kB / 254.4 MB, free: 208 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.009257, allocations: 39.84 kB / 254.4 MB, free: 168 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.009572, allocations: 207.3 kB / 254.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.009575, allocations: 0 / 254.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009576, allocations: 4 kB / 254.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.009581, allocations: 0 / 254.6 MB, free: 15.96 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.001146/0.01073, allocations: 0.5895 MB / 255.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.01077, allocations: 11.98 kB / 255.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.01154, allocations: 208.5 kB / 255.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.0117, allocations: 152.4 kB / 255.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.01171, allocations: 8.375 kB / 255.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.01173, allocations: 8.375 kB / 255.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.01195, allocations: 138.7 kB / 255.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.01196, allocations: 4.125 kB / 255.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.01197, allocations: 8.375 kB / 255.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.01199, allocations: 11.94 kB / 255.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.01211, allocations: 67.95 kB / 255.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.01266, allocations: 471.2 kB / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01283, allocations: 103 kB / 256.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.01289, allocations: 47.66 kB / 256.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.01291, allocations: 0 / 256.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.01293, allocations: 45.33 kB / 256.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.01293, allocations: 7.984 kB / 256.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002661/0.0132, allocations: 145.8 kB / 256.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.01323, allocations: 55.34 kB / 256.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.01333, allocations: 202.5 kB / 256.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.01335, allocations: 33.69 kB / 256.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.01342, allocations: 166.6 kB / 257.1 MB, free: 13.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.01344, allocations: 47.64 kB / 257.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.01349, allocations: 39.36 kB / 257.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.0136, allocations: 0.4962 MB / 257.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.01365, allocations: 23.98 kB / 257.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.01371, allocations: 74.56 kB / 257.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.01383, allocations: 89.55 kB / 257.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01383, allocations: 3.984 kB / 257.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001669/0.014, allocations: 129.5 kB / 258 MB, free: 12.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01401, allocations: 14.91 kB / 258 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.01402, allocations: 0 / 258 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01403, allocations: 3.938 kB / 258 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01415, allocations: 35.91 kB / 258 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01415, allocations: 4.062 kB / 258 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.0142, allocations: 15.94 kB / 258.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01421, allocations: 8 kB / 258.1 MB, free: 12.31 MB / 250.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 7.201e-05/0.01429, allocations: 160.5 kB / 258.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01431, allocations: 15.91 kB / 258.2 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01454, allocations: 166.2 kB / 258.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01454, allocations: 3.938 kB / 258.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01454, allocations: 0 / 258.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01455, allocations: 3.984 kB / 258.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.0147, allocations: 188.5 kB / 258.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.0147, allocations: 4 kB / 258.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.0148, allocations: 39.91 kB / 258.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.0148, allocations: 0 / 258.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01481, allocations: 7.984 kB / 258.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01482, allocations: 4 kB / 258.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01482, allocations: 3.938 kB / 258.6 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.01503, allocations: 287.8 kB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.01504, allocations: 15.84 kB / 258.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01506, allocations: 4 kB / 258.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.01512, allocations: 8 kB / 259 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.01516, allocations: 19.91 kB / 259 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.01517, allocations: 11.98 kB / 259 MB, free: 11.31 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.01523, allocations: 147.3 kB / 259.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01523, allocations: 0 / 259.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.0154, allocations: 31.95 kB / 259.2 MB, free: 11.14 MB / 250.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.0001045/0.01551, allocations: 107.2 kB / 259.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.01568, allocations: 99.56 kB / 259.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01568, allocations: 4 kB / 259.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.01575, allocations: 62.41 kB / 259.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01594, allocations: 27.91 kB / 259.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.0165, allocations: 309.6 kB / 259.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.01655, allocations: 79.83 kB / 259.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.01662, allocations: 25.25 kB / 259.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.01667, allocations: 24.48 kB / 259.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01667, allocations: 0 / 259.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of Templates: time 0.003531/0.0202, allocations: 2.07 MB / 262 MB, free: 8.297 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.719484998844564]