Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001369/0.001369, allocations: 83.56 kB / 22 MB, free: 5.18 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.001412/0.001412, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 158.6 MB / 187 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 55.92 kB / 299.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2658, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003056/0.2689, allocations: 1.555 MB / 350 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2702, allocations: 0.6565 MB / 350.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.2703, allocations: 4 kB / 350.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.2706, allocations: 43.8 kB / 350.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2708, allocations: 39.72 kB / 350.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2721, allocations: 0.5876 MB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.2723, allocations: 115.7 kB / 351.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2725, allocations: 32.98 kB / 351.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2727, allocations: 63.77 kB / 351.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.2728, allocations: 67.67 kB / 351.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.2729, allocations: 8 kB / 351.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.2731, allocations: 115.9 kB / 351.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.2732, allocations: 39.83 kB / 351.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.2733, allocations: 43.73 kB / 351.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.2737, allocations: 217.7 kB / 352.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2737, allocations: 0 / 352.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2737, allocations: 4 kB / 352.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2737, allocations: 0 / 352.1 MB, free: 11.94 MB / 318.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.001666/0.2754, allocations: 0.4896 MB / 352.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2754, allocations: 11.98 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.2769, allocations: 192.6 kB / 352.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2772, allocations: 162.3 kB / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.2772, allocations: 12.23 kB / 352.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.2773, allocations: 12.31 kB / 352.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.2778, allocations: 173.9 kB / 353.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2778, allocations: 0 / 353.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.2778, allocations: 8 kB / 353.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.2779, allocations: 8 kB / 353.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.2783, allocations: 159.9 kB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2795, allocations: 455.8 kB / 353.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.2799, allocations: 150.5 kB / 353.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.2801, allocations: 88.8 kB / 354 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2802, allocations: 4 kB / 354 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.2802, allocations: 30.56 kB / 354 MB, free: 9.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2802, allocations: 0 / 354 MB, free: 9.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008025/0.281, allocations: 269.6 kB / 354.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.2811, allocations: 55.41 kB / 354.3 MB, free: 9.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.2813, allocations: 153.8 kB / 354.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2813, allocations: 33.7 kB / 354.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.2814, allocations: 119.9 kB / 354.6 MB, free: 9.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.2815, allocations: 43.64 kB / 354.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.2816, allocations: 33.69 kB / 354.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2818, allocations: 322.8 kB / 355 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.282, allocations: 71.94 kB / 355.1 MB, free: 8.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2822, allocations: 86.52 kB / 355.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.2826, allocations: 170.4 kB / 355.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2826, allocations: 0 / 355.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005115/0.2831, allocations: 209.4 kB / 355.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2831, allocations: 8 kB / 355.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2831, allocations: 0 / 355.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2831, allocations: 0 / 355.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.2834, allocations: 40.02 kB / 355.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2834, allocations: 11.94 kB / 355.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2835, allocations: 19.81 kB / 355.6 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2835, allocations: 7.984 kB / 355.6 MB, free: 8.203 MB / 318.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.0001539/0.2837, allocations: 133.8 kB / 355.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.2837, allocations: 15.84 kB / 355.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.2844, allocations: 246.2 kB / 356 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2844, allocations: 4 kB / 356 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2844, allocations: 4 kB / 356 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2844, allocations: 0 / 356 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.2847, allocations: 189.1 kB / 356.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2847, allocations: 0 / 356.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.2849, allocations: 43.97 kB / 356.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2849, allocations: 3.938 kB / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2849, allocations: 7.984 kB / 356.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2849, allocations: 0 / 356.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2849, allocations: 0 / 356.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.2855, allocations: 323.2 kB / 356.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.2855, allocations: 11.95 kB / 356.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.2856, allocations: 7.938 kB / 356.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2857, allocations: 7.984 kB / 356.6 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.2858, allocations: 19.97 kB / 356.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2858, allocations: 4 kB / 356.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2859, allocations: 119.2 kB / 356.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2859, allocations: 0 / 356.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2862, allocations: 35.89 kB / 356.8 MB, free: 6.984 MB / 318.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.000169/0.2864, allocations: 99.25 kB / 356.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.2868, allocations: 168.3 kB / 357 MB, free: 6.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2868, allocations: 4 kB / 357 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2871, allocations: 91.88 kB / 357.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2874, allocations: 20.06 kB / 357.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.288, allocations: 319.3 kB / 357.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2882, allocations: 115.4 kB / 357.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.2883, allocations: 29.12 kB / 357.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.2884, allocations: 24.48 kB / 357.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2884, allocations: 3.938 kB / 357.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Templates: time 0.006379/0.2947, allocations: 1.893 MB / 359.5 MB, free: 4.176 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.320097435964271]