Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008061/0.0008061, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003205/0.003205, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8314/0.8314, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 325.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.087e-05, allocations: 2.844 kB / 325.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001881/0.001902, allocations: 1.683 MB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.002769, allocations: 0.7164 MB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.002822, allocations: 0 / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.003036, allocations: 55.66 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.003183, allocations: 43.66 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.003748, allocations: 474 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.00392, allocations: 127.5 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.004009, allocations: 25.78 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.0041, allocations: 79.75 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.004259, allocations: 71.78 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.004278, allocations: 12 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.004439, allocations: 115.8 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.004484, allocations: 31.84 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.004519, allocations: 39.84 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.004746, allocations: 215.4 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004748, allocations: 0 / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004749, allocations: 7.938 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004753, allocations: 0 / 329.4 MB, free: 11.74 MB / 298.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.0007311/0.005484, allocations: 469.3 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.005517, allocations: 15.98 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.005862, allocations: 104.7 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006031, allocations: 158.3 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006046, allocations: 8.375 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006062, allocations: 16.31 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.00629, allocations: 158 kB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.006299, allocations: 8.125 kB / 330.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.006313, allocations: 4.375 kB / 330.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.006331, allocations: 15.92 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.006547, allocations: 151.9 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.007124, allocations: 464 kB / 330.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.007362, allocations: 138.6 kB / 331.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.007453, allocations: 64.81 kB / 331.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.007472, allocations: 7.938 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.007487, allocations: 34.56 kB / 331.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.007489, allocations: 0 / 331.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003436/0.007832, allocations: 209.6 kB / 331.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.007861, allocations: 55.41 kB / 331.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.007972, allocations: 175.2 kB / 331.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.007986, allocations: 29.7 kB / 331.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.008043, allocations: 131.6 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.008064, allocations: 39.69 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.008355, allocations: 37.61 kB / 331.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.008429, allocations: 318.8 kB / 332.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.008516, allocations: 59.95 kB / 332.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.008614, allocations: 88.25 kB / 332.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.008803, allocations: 160.2 kB / 332.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008805, allocations: 0 / 332.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002234/0.009028, allocations: 189.4 kB / 332.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.009039, allocations: 4 kB / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.009043, allocations: 480 / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.009055, allocations: 7.938 kB / 332.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.009141, allocations: 39.98 kB / 332.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.009146, allocations: 0 / 332.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.0092, allocations: 19.94 kB / 332.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.009208, allocations: 7.938 kB / 332.7 MB, free: 8.211 MB / 298.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.133e-05/0.00928, allocations: 129.8 kB / 332.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.009302, allocations: 11.95 kB / 332.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.009554, allocations: 182.9 kB / 333 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.009557, allocations: 3.938 kB / 333 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009561, allocations: 4 kB / 333 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009564, allocations: 4 kB / 333.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009705, allocations: 173.2 kB / 333.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009706, allocations: 0 / 333.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.009773, allocations: 23.98 kB / 333.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009774, allocations: 3.938 kB / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.009782, allocations: 0 / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.009784, allocations: 3.984 kB / 333.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.009788, allocations: 7.875 kB / 333.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.01001, allocations: 259.4 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.01004, allocations: 27.94 kB / 333.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.01006, allocations: 3.984 kB / 333.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.01011, allocations: 4 kB / 333.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.01015, allocations: 15.92 kB / 333.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01016, allocations: 7.984 kB / 333.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.01022, allocations: 128.9 kB / 333.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 333.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.01039, allocations: 31.89 kB / 333.7 MB, free: 7.148 MB / 298.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.225e-05/0.01049, allocations: 119.1 kB / 333.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.0107, allocations: 135.8 kB / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.0107, allocations: 0 / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.01079, allocations: 64.2 kB / 334 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01098, allocations: 16.38 kB / 334.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.01138, allocations: 339.6 kB / 334.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.01145, allocations: 114.9 kB / 334.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.0115, allocations: 24.48 kB / 334.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0115, allocations: 0 / 334.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Templates: time 0.002297/0.0138, allocations: 1.979 MB / 336.5 MB, free: 4.316 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.021879026666284]