Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 48.02 kB / 370.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2582, allocations: 52.18 MB / 423.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003125/0.2613, allocations: 1.666 MB / 424.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2626, allocations: 0.6582 MB / 425.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.2627, allocations: 0 / 425.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2629, allocations: 51.72 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2631, allocations: 39.72 kB / 425.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.2645, allocations: 0.6102 MB / 426.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2647, allocations: 115.6 kB / 426.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2648, allocations: 17.3 kB / 426.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.265, allocations: 59.83 kB / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.2652, allocations: 87.61 kB / 426.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.2652, allocations: 12 kB / 426.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.2654, allocations: 131.8 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.2655, allocations: 35.84 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.2656, allocations: 59.66 kB / 426.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.266, allocations: 216.8 kB / 426.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.266, allocations: 4 kB / 426.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.266, allocations: 3.938 kB / 426.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.266, allocations: 0 / 426.8 MB, free: 11.08 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.00157/0.2675, allocations: 497.3 kB / 427.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2676, allocations: 12.03 kB / 427.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.2689, allocations: 172.6 kB / 427.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.2692, allocations: 158.3 kB / 427.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2692, allocations: 8.375 kB / 427.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.2693, allocations: 12.38 kB / 427.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.2697, allocations: 177.9 kB / 427.8 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2697, allocations: 0 / 427.8 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2697, allocations: 8 kB / 427.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2697, allocations: 4 kB / 427.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.2702, allocations: 167.8 kB / 428 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009885/0.2712, allocations: 0.5071 MB / 428.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2716, allocations: 154.5 kB / 428.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.2718, allocations: 80.81 kB / 428.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2718, allocations: 3.984 kB / 428.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2718, allocations: 42.5 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.497e-06/0.2718, allocations: 3.984 kB / 428.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007556/0.2726, allocations: 261.6 kB / 429.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2726, allocations: 55.41 kB / 429.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2729, allocations: 186.3 kB / 429.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2729, allocations: 29.7 kB / 429.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.273, allocations: 112.2 kB / 429.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.273, allocations: 51.62 kB / 429.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.2731, allocations: 33.64 kB / 429.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2732, allocations: 326.8 kB / 429.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2734, allocations: 71.94 kB / 429.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2736, allocations: 86.05 kB / 430 MB, free: 7.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.274, allocations: 173.5 kB / 430.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.274, allocations: 4 kB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004851/0.2745, allocations: 213.4 kB / 430.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2745, allocations: 11.94 kB / 430.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2745, allocations: 0 / 430.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2746, allocations: 0 / 430.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2748, allocations: 36.03 kB / 430.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.2748, allocations: 7.938 kB / 430.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.275, allocations: 23.88 kB / 430.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.275, allocations: 7.984 kB / 430.5 MB, free: 7.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001155/0.2751, allocations: 125.8 kB / 430.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.2752, allocations: 27.83 kB / 430.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005934/0.2757, allocations: 246.9 kB / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2757, allocations: 0 / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2758, allocations: 0 / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2758, allocations: 0 / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.2761, allocations: 252.4 kB / 431.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2761, allocations: 0 / 431.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2763, allocations: 35.97 kB / 431.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.2763, allocations: 3.938 kB / 431.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2763, allocations: 7.984 kB / 431.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2763, allocations: 4 kB / 431.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2763, allocations: 4 kB / 431.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.2769, allocations: 311.3 kB / 431.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2769, allocations: 27.78 kB / 431.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2769, allocations: 0 / 431.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2771, allocations: 11.98 kB / 431.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.2771, allocations: 15.97 kB / 431.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2772, allocations: 12 kB / 431.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.2773, allocations: 144.2 kB / 431.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2773, allocations: 0 / 431.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2776, allocations: 31.95 kB / 431.7 MB, free: 5.93 MB / 334.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 (18): * Single equations (assignments): 18 * 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.0001704/0.2777, allocations: 103.2 kB / 431.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.2782, allocations: 171.7 kB / 432 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2782, allocations: 0 / 432 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2784, allocations: 94.52 kB / 432.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2787, allocations: 16 kB / 432.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.2794, allocations: 336 kB / 432.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.2798, allocations: 0.728 MB / 433.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.2799, allocations: 33.41 kB / 433.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2799, allocations: 23.41 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2799, allocations: 0 / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Templates: time 0.005621/0.2856, allocations: 2.083 MB / 435.3 MB, free: 2.309 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.386388431303203]