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.002112/0.002112, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002478/0.002478, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.613/1.613, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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 0.00172/0.00172, allocations: 55.91 kB / 373.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1358, allocations: 53.33 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003064/0.1389, allocations: 1.704 MB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1404, allocations: 0.7788 MB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.1405, allocations: 4 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1407, allocations: 51.72 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1409, allocations: 35.72 kB / 429.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.142, allocations: 0.5097 MB / 429.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1423, allocations: 127.5 kB / 430 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1424, allocations: 13.56 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1425, allocations: 67.69 kB / 430.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1427, allocations: 87.67 kB / 430.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1428, allocations: 12 kB / 430.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.143, allocations: 123.8 kB / 430.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.1431, allocations: 35.91 kB / 430.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.1432, allocations: 63.59 kB / 430.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.1435, allocations: 203.1 kB / 430.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1435, allocations: 0 / 430.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1435, allocations: 0 / 430.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1435, allocations: 0 / 430.6 MB, free: 0.4922 MB / 350.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.2512/0.3948, allocations: 0.5353 MB / 431.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3948, allocations: 10.81 kB / 431.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.3957, allocations: 96.95 kB / 431.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.396, allocations: 224.2 kB / 431.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.396, allocations: 8.906 kB / 431.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.396, allocations: 7.562 kB / 431.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3964, allocations: 160.4 kB / 431.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3964, allocations: 0.9375 kB / 431.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.3965, allocations: 11.06 kB / 431.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.3965, allocations: 7.359 kB / 431.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.3969, allocations: 156 kB / 431.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.398, allocations: 0.5565 MB / 432.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.3984, allocations: 136.7 kB / 432.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3986, allocations: 64.47 kB / 432.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3986, allocations: 4.422 kB / 432.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3986, allocations: 36.75 kB / 432.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.3986, allocations: 0 / 432.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006288/0.3992, allocations: 215.3 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3993, allocations: 52.97 kB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3995, allocations: 210.9 kB / 433 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3995, allocations: 32.55 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.3995, allocations: 127.6 kB / 433.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3996, allocations: 35.52 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3996, allocations: 28.09 kB / 433.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.3997, allocations: 331.7 kB / 433.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3998, allocations: 58.19 kB / 433.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4, allocations: 94.19 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.4004, allocations: 155.5 kB / 433.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4004, allocations: 2.781 kB / 433.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004084/0.4008, allocations: 194.4 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.4008, allocations: 7.266 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4008, allocations: 1.688 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4008, allocations: 5.969 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.401, allocations: 31.56 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.401, allocations: 5.781 kB / 434.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.4012, allocations: 18.14 kB / 434.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.4012, allocations: 7.234 kB / 434.2 MB, free: 9.918 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 9.201e-05/0.4013, allocations: 127.8 kB / 434.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4013, allocations: 23.2 kB / 434.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.4018, allocations: 187.8 kB / 434.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4018, allocations: 2.438 kB / 434.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4018, allocations: 2.734 kB / 434.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4018, allocations: 3.609 kB / 434.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.4021, allocations: 241.4 kB / 434.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4021, allocations: 1.031 kB / 434.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.4022, allocations: 29.64 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4022, allocations: 2.844 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4022, allocations: 4.547 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4022, allocations: 0 / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4022, allocations: 2.719 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.4027, allocations: 263.3 kB / 435 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.4028, allocations: 112.5 kB / 435.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.4028, allocations: 5.578 kB / 435.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.4029, allocations: 10.42 kB / 435.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.403, allocations: 7.5 kB / 435.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.403, allocations: 6.484 kB / 435.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.4031, allocations: 159.7 kB / 435.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4031, allocations: 0 / 435.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4034, allocations: 27.14 kB / 435.3 MB, free: 9.227 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.0001499/0.4036, allocations: 111.2 kB / 435.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.404, allocations: 135 kB / 435.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.404, allocations: 0 / 435.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.4042, allocations: 65.44 kB / 435.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4045, allocations: 19.38 kB / 435.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.4052, allocations: 335 kB / 436 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.4054, allocations: 0.7251 MB / 436.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.4055, allocations: 33.17 kB / 436.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.4055, allocations: 16.98 kB / 436.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4055, allocations: 0 / 436.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Templates: time 0.006436/0.412, allocations: 1.656 MB / 438.4 MB, free: 8.059 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] 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: 5.0469302944839]