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.002206/0.002206, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002026/0.002026, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.551/1.551, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.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.002084/0.002084, allocations: 57.17 kB / 348.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 49.17 MB / 397.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003158/0.3464, allocations: 1.6 MB / 399.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3478, allocations: 0.6987 MB / 399.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.3479, allocations: 2.062 kB / 399.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3482, allocations: 55.61 kB / 399.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3484, allocations: 37.77 kB / 400 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3496, allocations: 0.6307 MB / 400.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3498, allocations: 112.8 kB / 400.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.35, allocations: 27.64 kB / 400.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3501, allocations: 64.36 kB / 400.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3503, allocations: 79.62 kB / 400.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3503, allocations: 8.969 kB / 400.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.3506, allocations: 149.3 kB / 401 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.3507, allocations: 36.31 kB / 401.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.3507, allocations: 58.97 kB / 401.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.3512, allocations: 228.8 kB / 401.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3512, allocations: 1.281 kB / 401.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3512, allocations: 0 / 401.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3512, allocations: 0 / 401.4 MB, free: 7.18 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.001657/0.3528, allocations: 0.4925 MB / 401.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3529, allocations: 13.16 kB / 401.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.3543, allocations: 196.1 kB / 402 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3545, allocations: 157.4 kB / 402.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3546, allocations: 9.047 kB / 402.2 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3546, allocations: 11.25 kB / 402.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.355, allocations: 174.2 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.355, allocations: 1.562 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.355, allocations: 8.797 kB / 402.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.3551, allocations: 5.719 kB / 402.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.3555, allocations: 167.2 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.3564, allocations: 0.5159 MB / 403.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3568, allocations: 163 kB / 403.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.357, allocations: 85.09 kB / 403.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.357, allocations: 11.39 kB / 403.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.357, allocations: 35.78 kB / 403.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.357, allocations: 0 / 403.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007137/0.3578, allocations: 265 kB / 403.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3578, allocations: 55.41 kB / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.358, allocations: 191 kB / 403.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.358, allocations: 26.98 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.358, allocations: 109.9 kB / 404 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3581, allocations: 47.69 kB / 404.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3581, allocations: 34.75 kB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3582, allocations: 326.3 kB / 404.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.3584, allocations: 67.53 kB / 404.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3586, allocations: 87.66 kB / 404.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3589, allocations: 174.5 kB / 404.7 MB, free: 5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3589, allocations: 3.938 kB / 404.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004511/0.3594, allocations: 212.9 kB / 404.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3594, allocations: 10.38 kB / 405 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3594, allocations: 1 kB / 405 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3594, allocations: 1.25 kB / 405 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.3597, allocations: 37.5 kB / 405 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3597, allocations: 13.53 kB / 405 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.3598, allocations: 18.73 kB / 405 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3598, allocations: 6.766 kB / 405 MB, free: 4.875 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 9.26e-05/0.3599, allocations: 129.3 kB / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.36, allocations: 19 kB / 405.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/0.3605, allocations: 244.3 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3606, allocations: 6.781 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3606, allocations: 0 / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3606, allocations: 1.266 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3608, allocations: 245.5 kB / 405.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3608, allocations: 0 / 405.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.361, allocations: 40.69 kB / 405.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.361, allocations: 6.375 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3611, allocations: 3 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3611, allocations: 1.984 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3611, allocations: 3.984 kB / 405.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.3616, allocations: 328.6 kB / 406 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.3616, allocations: 19.95 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3617, allocations: 4.562 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3618, allocations: 16.5 kB / 406.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3619, allocations: 16.16 kB / 406.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3619, allocations: 6.141 kB / 406.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.362, allocations: 145.7 kB / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.362, allocations: 0 / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3623, allocations: 30.81 kB / 406.3 MB, free: 4.066 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.0001495/0.3624, allocations: 104 kB / 406.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.3629, allocations: 172.3 kB / 406.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3629, allocations: 3.938 kB / 406.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3631, allocations: 95.27 kB / 406.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3634, allocations: 19.59 kB / 406.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.364, allocations: 340.6 kB / 407 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.3642, allocations: 0.7294 MB / 407.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.3643, allocations: 29.06 kB / 407.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3643, allocations: 0 / 407.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.004639/0.3689, allocations: 2.163 MB / 409.9 MB, free: 2.297 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 -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: 7.430224952055141]