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.001191/0.001191, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001214/0.001214, allocations: 167.3 kB / 24.82 MB, free: 8.875 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.753e-06/1.753e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.045e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003795/0.003826, allocations: 1.712 MB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.004875, allocations: 0.7359 MB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.004937, allocations: 0 / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.005172, allocations: 47.67 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.005336, allocations: 39.7 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.00599, allocations: 485.9 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.006162, allocations: 123.5 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.006254, allocations: 21.73 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.006357, allocations: 83.73 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006537, allocations: 67.86 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.006559, allocations: 12 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.006755, allocations: 127.7 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.006805, allocations: 35.91 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.006843, allocations: 43.84 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.007073, allocations: 187.3 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.007077, allocations: 4 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007078, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.007083, allocations: 0 / 277.1 MB, free: 13.57 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.0007067/0.007789, allocations: 0.5465 MB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.007825, allocations: 12.03 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.008198, allocations: 112.7 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.008338, allocations: 166.7 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.00835, allocations: 8.375 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.008364, allocations: 8.375 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.008531, allocations: 110.9 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.008539, allocations: 4.188 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008549, allocations: 4.375 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.008569, allocations: 11.94 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.008642, allocations: 55.95 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.009127, allocations: 451.8 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.009269, allocations: 83.09 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.009301, allocations: 31.72 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.009321, allocations: 8 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.009338, allocations: 33.58 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.00934, allocations: 7.875 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001678/0.009508, allocations: 101.5 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.009533, allocations: 59.34 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.009639, allocations: 222.5 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.009653, allocations: 29.69 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.009716, allocations: 178.5 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.009736, allocations: 35.72 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.009778, allocations: 39.31 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.009875, allocations: 0.5001 MB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.009899, allocations: 11.98 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.009945, allocations: 66.39 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.01002, allocations: 86.75 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.01002, allocations: 0 / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001187/0.01014, allocations: 117.4 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.01015, allocations: 8.125 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01015, allocations: 0 / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01017, allocations: 4 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.01025, allocations: 31.92 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.01026, allocations: 7.984 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.0103, allocations: 7.953 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01031, allocations: 7.984 kB / 280.2 MB, free: 10.2 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 7.579e-05/0.01039, allocations: 172.4 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01041, allocations: 15.91 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.01055, allocations: 115 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01055, allocations: 0 / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01055, allocations: 3.938 kB / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01055, allocations: 0 / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01068, allocations: 141.2 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.01068, allocations: 0 / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.01075, allocations: 27.92 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01075, allocations: 0 / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.01075, allocations: 0 / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01076, allocations: 3.984 kB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.01076, allocations: 0 / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01089, allocations: 251.7 kB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.01092, allocations: 27.89 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.01094, allocations: 0 / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.01098, allocations: 4 kB / 280.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.01101, allocations: 15.92 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.01102, allocations: 3.984 kB / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.01107, allocations: 164.7 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01107, allocations: 0 / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.01124, allocations: 27.94 kB / 281.1 MB, free: 9.188 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 9.453e-05/0.01134, allocations: 107.2 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01144, allocations: 67.58 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01144, allocations: 0 / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.01148, allocations: 39.59 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01167, allocations: 24.22 kB / 281.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01215, allocations: 286.6 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.0122, allocations: 79.2 kB / 281.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.01224, allocations: 16.64 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.01232, allocations: 94.19 kB / 281.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01232, allocations: 0 / 281.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of Templates: time 0.003118/0.01544, allocations: 1.724 MB / 283.6 MB, free: 6.719 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.8501538150012493]