Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 8.035 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 64.75 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003155/0.3528, allocations: 1.721 MB / 434.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3544, allocations: 0.7788 MB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.3544, allocations: 4 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.3547, allocations: 55.7 kB / 434.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.3549, allocations: 35.72 kB / 435 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.356, allocations: 0.5175 MB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3563, allocations: 123.6 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3564, allocations: 17.73 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3565, allocations: 59.72 kB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3567, allocations: 95.59 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.3568, allocations: 8 kB / 435.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.3571, allocations: 127.9 kB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.3571, allocations: 35.84 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.3572, allocations: 63.55 kB / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.3577, allocations: 204.9 kB / 436.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3577, allocations: 0 / 436.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3577, allocations: 0 / 436.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3577, allocations: 0 / 436.2 MB, free: 3.133 MB / 334.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.001571/0.3593, allocations: 473.3 kB / 436.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3593, allocations: 11.97 kB / 436.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.36, allocations: 100.7 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3603, allocations: 162.2 kB / 436.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3603, allocations: 8.375 kB / 436.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3603, allocations: 8.375 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.3608, allocations: 174.6 kB / 437.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3608, allocations: 0 / 437.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3608, allocations: 7.984 kB / 437.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.3608, allocations: 4 kB / 437.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.3612, allocations: 151.9 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3623, allocations: 0.5306 MB / 437.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.3628, allocations: 134.6 kB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.363, allocations: 68.75 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.363, allocations: 3.984 kB / 438 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.363, allocations: 34.56 kB / 438.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.363, allocations: 0 / 438.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006816/0.3637, allocations: 213.6 kB / 438.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.3637, allocations: 55.41 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.364, allocations: 211.1 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.364, allocations: 25.7 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3641, allocations: 124.6 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.3642, allocations: 39.67 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.3642, allocations: 33.7 kB / 438.7 MB, free: 436 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3644, allocations: 326.8 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3646, allocations: 63.83 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3648, allocations: 91.5 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3652, allocations: 152.2 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3652, allocations: 0 / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004919/0.3657, allocations: 205.3 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3657, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3657, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3657, allocations: 4 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3659, allocations: 31.92 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3659, allocations: 4 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.366, allocations: 24 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3661, allocations: 4 kB / 439.6 MB, free: 15.49 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 0.0001262/0.3662, allocations: 129.8 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.3662, allocations: 23.8 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.3667, allocations: 190.8 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3667, allocations: 0 / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3668, allocations: 0 / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3668, allocations: 4 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3671, allocations: 224.5 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3671, allocations: 0 / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3672, allocations: 27.98 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3672, allocations: 0 / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3672, allocations: 7.984 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3672, allocations: 0 / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3672, allocations: 3.938 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.3677, allocations: 263.3 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3678, allocations: 35.97 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3678, allocations: 3.938 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.368, allocations: 4 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.368, allocations: 15.97 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.368, allocations: 0 / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3682, allocations: 152.5 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 4 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3685, allocations: 27.95 kB / 440.7 MB, free: 14.32 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.0001461/0.3686, allocations: 111.2 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.3691, allocations: 136.1 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3691, allocations: 3.938 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.3693, allocations: 59.95 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3696, allocations: 19.94 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.3702, allocations: 326.2 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3706, allocations: 0.7278 MB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.3707, allocations: 33.41 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.3708, allocations: 19.44 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3708, allocations: 0 / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.005231/0.376, allocations: 1.721 MB / 443.9 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.663631371222436]