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.001739/0.001739, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002173/0.002173, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001573/0.001573, allocations: 51.92 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2498, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002982/0.2527, allocations: 1.682 MB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2541, allocations: 0.7088 MB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.2542, allocations: 4 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.2544, allocations: 51.72 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2546, allocations: 35.72 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2557, allocations: 490 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.2559, allocations: 123.6 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.256, allocations: 24.67 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2561, allocations: 63.66 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2563, allocations: 83.67 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2563, allocations: 15.98 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.2566, allocations: 123.9 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.2566, allocations: 39.83 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.2567, allocations: 43.67 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.257, allocations: 207 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.257, allocations: 0 / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.257, allocations: 3.938 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.257, allocations: 0 / 436 MB, free: 3.035 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.001375/0.2584, allocations: 469.3 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2584, allocations: 8.031 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.2592, allocations: 108.7 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.2594, allocations: 158.3 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2594, allocations: 8.375 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2594, allocations: 12.31 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.2599, allocations: 164.3 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2599, allocations: 0 / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2599, allocations: 4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.2599, allocations: 11.98 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.2604, allocations: 155.8 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.2614, allocations: 472 kB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.2618, allocations: 138.6 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.262, allocations: 60.81 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.262, allocations: 0 / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.262, allocations: 38.5 kB / 437.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.262, allocations: 0 / 437.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006432/0.2627, allocations: 209.7 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2627, allocations: 55.78 kB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2629, allocations: 179.2 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2629, allocations: 25.7 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.263, allocations: 135.8 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2631, allocations: 39.61 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.2631, allocations: 33.67 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2633, allocations: 322.8 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2634, allocations: 55.95 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2637, allocations: 100.2 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.264, allocations: 148.2 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.264, allocations: 4 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004589/0.2645, allocations: 197.4 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2645, allocations: 4 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2645, allocations: 4 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2645, allocations: 0 / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2647, allocations: 31.92 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2647, allocations: 0 / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.2649, allocations: 15.94 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2649, allocations: 8 kB / 439.3 MB, free: 15.52 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.0001388/0.265, allocations: 137.9 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.2651, allocations: 19.83 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.2656, allocations: 182.9 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2656, allocations: 4 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2656, allocations: 0 / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2656, allocations: 0 / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2659, allocations: 169.2 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2659, allocations: 4 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.266, allocations: 27.98 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.266, allocations: 3.938 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2661, allocations: 11.92 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2661, allocations: 96 / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2661, allocations: 3.938 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.2665, allocations: 259.4 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.2666, allocations: 31.88 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2666, allocations: 7.938 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2668, allocations: 8 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2668, allocations: 7.984 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2668, allocations: 7.984 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.267, allocations: 124 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.267, allocations: 0 / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.2673, allocations: 31.94 kB / 440.3 MB, free: 14.44 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.0001601/0.2674, allocations: 115.1 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.2679, allocations: 135.8 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2679, allocations: 0 / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.268, allocations: 59.95 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2684, allocations: 22.25 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.269, allocations: 322.2 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2691, allocations: 110.8 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2692, allocations: 36.41 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.2693, allocations: 15.42 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2693, allocations: 0 / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005/0.2743, allocations: 1.72 MB / 442.8 MB, free: 11.89 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 -s gbode -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: 4.508915134996641]