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.001815/0.001815, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.002287/0.002287, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.577/1.577, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.001491/0.001491, allocations: 51.94 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002904/0.1091, allocations: 1.71 MB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1105, allocations: 0.7633 MB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1105, allocations: 4 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1108, allocations: 59.7 kB / 430 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1109, allocations: 43.7 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.112, allocations: 0.498 MB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1122, allocations: 127.5 kB / 430.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1123, allocations: 25.55 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.1124, allocations: 55.72 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1126, allocations: 95.66 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1126, allocations: 8 kB / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1129, allocations: 127.8 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1129, allocations: 31.91 kB / 431 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.113, allocations: 59.59 kB / 431.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1133, allocations: 207.1 kB / 431.3 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1133, allocations: 0 / 431.3 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1133, allocations: 0 / 431.3 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1133, allocations: 3.984 kB / 431.3 MB, free: 496 kB / 350.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.00133/0.1146, allocations: 0.5336 MB / 431.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1147, allocations: 8.031 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/0.1154, allocations: 100.7 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1156, allocations: 232 kB / 432.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1157, allocations: 16.36 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1157, allocations: 4.375 kB / 432.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.1161, allocations: 161.9 kB / 432.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1161, allocations: 0 / 432.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1161, allocations: 4 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.1161, allocations: 8 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.1165, allocations: 155.9 kB / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1176, allocations: 0.5588 MB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.118, allocations: 130.6 kB / 433.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1182, allocations: 80.73 kB / 433.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1182, allocations: 0 / 433.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1182, allocations: 34.69 kB / 433.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.1182, allocations: 0 / 433.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006325/0.1188, allocations: 217.4 kB / 433.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1189, allocations: 59.41 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1191, allocations: 207.4 kB / 433.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1191, allocations: 29.7 kB / 433.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.1192, allocations: 120.2 kB / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1193, allocations: 39.67 kB / 433.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.1193, allocations: 33.66 kB / 434 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1195, allocations: 330.8 kB / 434.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.1197, allocations: 55.95 kB / 434.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1199, allocations: 91.75 kB / 434.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1202, allocations: 156.2 kB / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1202, allocations: 0 / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004544/0.1207, allocations: 201.3 kB / 434.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1207, allocations: 4 kB / 434.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1207, allocations: 0 / 434.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1207, allocations: 4.125 kB / 434.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1209, allocations: 31.97 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1209, allocations: 4 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.121, allocations: 19.89 kB / 434.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1211, allocations: 11.97 kB / 434.8 MB, free: 12.64 MB / 366.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.0001233/0.1212, allocations: 129.7 kB / 435 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1212, allocations: 27.78 kB / 435 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.1217, allocations: 183.5 kB / 435.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1217, allocations: 3.938 kB / 435.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1217, allocations: 0 / 435.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1217, allocations: 3.984 kB / 435.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.1221, allocations: 241.5 kB / 435.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.1221, allocations: 7.938 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1223, allocations: 27.91 kB / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1223, allocations: 0 / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.1223, allocations: 8 kB / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1223, allocations: 8 kB / 435.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1223, allocations: 0 / 435.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.1227, allocations: 263.4 kB / 435.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.1228, allocations: 104.9 kB / 435.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1229, allocations: 8 kB / 435.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.123, allocations: 7.984 kB / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.1231, allocations: 11.98 kB / 435.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1231, allocations: 4 kB / 435.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1232, allocations: 156.2 kB / 436 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1232, allocations: 7.938 kB / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1235, allocations: 31.89 kB / 436.1 MB, free: 11.32 MB / 366.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.0001633/0.1237, allocations: 107.2 kB / 436.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.1241, allocations: 127.8 kB / 436.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1241, allocations: 4 kB / 436.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.1243, allocations: 63.89 kB / 436.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1246, allocations: 19.94 kB / 436.4 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.1253, allocations: 355.5 kB / 436.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1256, allocations: 0.7201 MB / 437.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.1257, allocations: 23.38 kB / 437.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1257, allocations: 0 / 437.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of Templates: time 0.004062/0.1298, allocations: 2.034 MB / 439.5 MB, free: 7.82 MB / 366.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.141303765994962]