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.002338/0.002338, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002692/0.002692, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.343e-06/1.343e-06, allocations: 0 / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.006e-05, allocations: 2.312 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003098/0.003128, allocations: 1.708 MB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004707, allocations: 0.7242 MB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.004769, allocations: 7.938 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.005017, allocations: 55.66 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.005213, allocations: 39.66 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.006326, allocations: 482 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.006564, allocations: 127.5 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.006669, allocations: 21.8 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006802, allocations: 71.8 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.007032, allocations: 79.77 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.007062, allocations: 11.94 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.007329, allocations: 115.9 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.0074, allocations: 35.84 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.007469, allocations: 35.91 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.007852, allocations: 227.2 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.007856, allocations: 0 / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.007858, allocations: 4 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.007863, allocations: 0 / 276 MB, free: 14.14 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.001244/0.009106, allocations: 0.5579 MB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.009145, allocations: 12.03 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/0.009813, allocations: 116.7 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.01005, allocations: 152.4 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.01008, allocations: 12.38 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.0101, allocations: 8.375 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.01043, allocations: 146.2 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01044, allocations: 192 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.01045, allocations: 4.359 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.01048, allocations: 11.94 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.01081, allocations: 131.9 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.01192, allocations: 0.5381 MB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.0123, allocations: 131.1 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.01244, allocations: 47.67 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.01247, allocations: 4 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.01251, allocations: 45.5 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.01251, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005279/0.01304, allocations: 177.5 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.01309, allocations: 55.41 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.01333, allocations: 242.5 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.01335, allocations: 25.7 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01348, allocations: 182.6 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.01351, allocations: 27.75 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.01359, allocations: 47.31 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.01385, allocations: 0.4962 MB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.01398, allocations: 43.97 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.01416, allocations: 105.4 kB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.01445, allocations: 150.6 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01445, allocations: 0 / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003708/0.01482, allocations: 169.4 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01484, allocations: 4.125 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01484, allocations: 4 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01486, allocations: 7.938 kB / 279.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01503, allocations: 31.97 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01504, allocations: 4 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.996e-05/0.01514, allocations: 15.83 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01516, allocations: 7.938 kB / 279.7 MB, free: 10.22 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 0.0001464/0.0153, allocations: 172.6 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.01535, allocations: 19.91 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.01575, allocations: 155 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01576, allocations: 3.938 kB / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01577, allocations: 3.984 kB / 280 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01577, allocations: 7.938 kB / 280 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.01605, allocations: 192.5 kB / 280.2 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01605, allocations: 0 / 280.2 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01619, allocations: 23.98 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01619, allocations: 4 kB / 280.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01621, allocations: 3.984 kB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01621, allocations: 3.938 kB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01621, allocations: 7.938 kB / 280.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.01662, allocations: 287.8 kB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.0167, allocations: 31.86 kB / 280.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01673, allocations: 7.938 kB / 280.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01684, allocations: 4 kB / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.0169, allocations: 11.92 kB / 280.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01691, allocations: 4 kB / 280.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.01706, allocations: 176.8 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01706, allocations: 4 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01733, allocations: 27.94 kB / 280.8 MB, free: 9.02 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.0001536/0.01749, allocations: 99.25 kB / 280.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.01784, allocations: 127.5 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01784, allocations: 0 / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.018, allocations: 63.59 kB / 281.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01829, allocations: 28.23 kB / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.01895, allocations: 314.6 kB / 281.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01907, allocations: 110.8 kB / 281.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.01917, allocations: 24.62 kB / 281.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.01923, allocations: 20.5 kB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01923, allocations: 0 / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of Templates: time 0.005315/0.02455, allocations: 1.581 MB / 283.2 MB, free: 6.629 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.524955491069704]