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.001444/0.001444, allocations: 70.11 kB / 21.24 MB, free: 0.5547 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.001396/0.001396, allocations: 153.1 kB / 24.49 MB, free: 3.852 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.415/1.415, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.001581/0.001581, allocations: 47.64 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 52.16 MB / 371.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003504/0.1125, allocations: 1.618 MB / 373.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1138, allocations: 0.5959 MB / 373.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.1139, allocations: 4 kB / 373.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1142, allocations: 55.7 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1144, allocations: 35.73 kB / 373.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1158, allocations: 0.5603 MB / 374.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.116, allocations: 111.6 kB / 374.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1162, allocations: 21.28 kB / 374.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1163, allocations: 67.7 kB / 374.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1165, allocations: 71.73 kB / 374.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.1165, allocations: 8 kB / 374.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1168, allocations: 99.92 kB / 374.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.1168, allocations: 39.78 kB / 374.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.1169, allocations: 47.72 kB / 374.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.1173, allocations: 207.2 kB / 375.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1173, allocations: 0 / 375.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1173, allocations: 0 / 375.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1173, allocations: 3.984 kB / 375.1 MB, free: 3.816 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.001636/0.119, allocations: 493.3 kB / 375.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.119, allocations: 8.922 kB / 375.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.1204, allocations: 180.6 kB / 375.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1207, allocations: 158.2 kB / 375.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1207, allocations: 16.31 kB / 375.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1207, allocations: 4.375 kB / 375.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1212, allocations: 173.9 kB / 376.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1212, allocations: 0 / 376.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1212, allocations: 12 kB / 376.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1212, allocations: 7.984 kB / 376.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.1217, allocations: 159.9 kB / 376.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009565/0.1226, allocations: 448 kB / 376.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.123, allocations: 154.5 kB / 376.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1232, allocations: 96.8 kB / 376.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1233, allocations: 4 kB / 377 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1233, allocations: 30.56 kB / 377 MB, free: 1.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1233, allocations: 0 / 377 MB, free: 1.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007343/0.124, allocations: 253.4 kB / 377.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1241, allocations: 59.41 kB / 377.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1242, allocations: 145.8 kB / 377.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1243, allocations: 33.7 kB / 377.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1244, allocations: 123.8 kB / 377.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1244, allocations: 47.64 kB / 377.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.1245, allocations: 29.7 kB / 377.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1246, allocations: 322.8 kB / 378 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1248, allocations: 63.95 kB / 378 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.125, allocations: 90.52 kB / 378.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.1254, allocations: 178.5 kB / 378.3 MB, free: 424 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1254, allocations: 3.938 kB / 378.3 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004955/0.1259, allocations: 213.4 kB / 378.5 MB, free: 200 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.126, allocations: 8 kB / 378.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.126, allocations: 0 / 378.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.126, allocations: 0 / 378.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1262, allocations: 31.97 kB / 378.5 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1263, allocations: 12 kB / 378.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1264, allocations: 19.88 kB / 378.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1264, allocations: 7.984 kB / 378.6 MB, free: 120 kB / 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.0001402/0.1266, allocations: 129.8 kB / 378.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.1266, allocations: 15.89 kB / 378.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1272, allocations: 248.9 kB / 379 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1272, allocations: 0 / 379 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1272, allocations: 8 kB / 379 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.1272, allocations: 3.984 kB / 379 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1275, allocations: 193 kB / 379.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1275, allocations: 0 / 379.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.1277, allocations: 43.91 kB / 379.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1277, allocations: 3.938 kB / 379.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1278, allocations: 4 kB / 379.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1278, allocations: 0 / 379.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1278, allocations: 0 / 379.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.1283, allocations: 319.3 kB / 379.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1284, allocations: 23.83 kB / 379.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1284, allocations: 3.938 kB / 379.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1285, allocations: 8 kB / 379.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1286, allocations: 11.97 kB / 379.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1286, allocations: 11.98 kB / 379.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1287, allocations: 118.4 kB / 379.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1287, allocations: 0 / 379.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.129, allocations: 28 kB / 379.7 MB, free: 14.91 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 (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.0001417/0.1291, allocations: 107.2 kB / 379.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1296, allocations: 171.7 kB / 380 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1296, allocations: 3.938 kB / 380 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1299, allocations: 98.97 kB / 380.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1302, allocations: 19.2 kB / 380.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.1308, allocations: 327.9 kB / 380.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.131, allocations: 111.4 kB / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1311, allocations: 33.12 kB / 380.6 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.1312, allocations: 24.48 kB / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1312, allocations: 0 / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.005497/0.1366, allocations: 1.891 MB / 382.5 MB, free: 12.12 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/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.373847802984528]