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.001326/0.001326, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001633/0.001633, allocations: 210 kB / 24.48 MB, free: 3.938 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.00161/0.00161, allocations: 43.92 kB / 378.9 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 53.38 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003104/0.2561, allocations: 1.679 MB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2576, allocations: 0.7049 MB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.2576, allocations: 4 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2579, allocations: 59.64 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.2581, allocations: 39.72 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2591, allocations: 482.1 kB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.2593, allocations: 123.6 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2594, allocations: 17.73 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2595, allocations: 59.77 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2598, allocations: 91.53 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.2598, allocations: 12 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.26, allocations: 115.9 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.2601, allocations: 39.78 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.2602, allocations: 43.72 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2605, allocations: 205 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2605, allocations: 0 / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2605, allocations: 0 / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2605, allocations: 3.938 kB / 436 MB, free: 3.066 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.001294/0.2618, allocations: 477.2 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2618, allocations: 8.031 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006586/0.2625, allocations: 100.7 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2628, allocations: 162.2 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.2628, allocations: 12.36 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.2628, allocations: 8.375 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2632, allocations: 176.2 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2632, allocations: 0 / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2632, allocations: 0 / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.2632, allocations: 8 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2636, allocations: 155.9 kB / 437 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.2646, allocations: 460 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.2651, allocations: 142.6 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2652, allocations: 56.83 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2653, allocations: 4 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.2653, allocations: 38.48 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.2653, allocations: 0 / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006163/0.2659, allocations: 209.7 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.266, allocations: 55.39 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2661, allocations: 179.2 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2662, allocations: 25.7 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.2663, allocations: 127.9 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2663, allocations: 40 kB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.2664, allocations: 41.59 kB / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2665, allocations: 322.8 kB / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2667, allocations: 51.97 kB / 438.8 MB, free: 100 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.2669, allocations: 104.2 kB / 438.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.2673, allocations: 152.2 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2673, allocations: 0 / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004455/0.2677, allocations: 193.4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2677, allocations: 8 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2677, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2677, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2679, allocations: 35.91 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2679, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.268, allocations: 11.95 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2681, allocations: 11.98 kB / 439.3 MB, free: 15.55 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.0001263/0.2682, allocations: 129.9 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.2682, allocations: 19.84 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.2687, allocations: 186.9 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2687, allocations: 3.984 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2687, allocations: 0 / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2687, allocations: 0 / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.269, allocations: 173.2 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.269, allocations: 0 / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2691, allocations: 23.98 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2691, allocations: 11.92 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2692, allocations: 4 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2692, allocations: 3.938 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2692, allocations: 0 / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.2696, allocations: 263.4 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.2697, allocations: 23.94 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.2697, allocations: 8.031 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2698, allocations: 11.92 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.2699, allocations: 15.98 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.2699, allocations: 0 / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.27, allocations: 131.9 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.27, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.2703, allocations: 31.89 kB / 440.3 MB, free: 14.46 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.0001468/0.2704, allocations: 111.1 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.2708, allocations: 131.8 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2708, allocations: 4 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.271, allocations: 55.95 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2713, allocations: 20.98 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.272, allocations: 355.9 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2721, allocations: 122.7 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.2721, allocations: 15.44 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2721, allocations: 0 / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Templates: time 0.004072/0.2762, allocations: 1.969 MB / 443.1 MB, free: 11.64 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/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: 7.041669005062431]