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.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.001374/0.001374, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001594/0.001594, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.811/1.811, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 51.92 kB / 347.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3855, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003679/0.3892, allocations: 1.599 MB / 398.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3909, allocations: 0.7026 MB / 399.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.391, allocations: 1.594 kB / 399.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3914, allocations: 52.38 kB / 399.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3916, allocations: 36.66 kB / 399.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3928, allocations: 0.6082 MB / 399.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3931, allocations: 114.4 kB / 399.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3932, allocations: 18.56 kB / 399.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3934, allocations: 65.91 kB / 400 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3936, allocations: 90.91 kB / 400.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.3936, allocations: 9.656 kB / 400.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3939, allocations: 133.1 kB / 400.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.394, allocations: 33.64 kB / 400.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.3941, allocations: 59.22 kB / 400.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.3945, allocations: 226.1 kB / 400.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3945, allocations: 0 / 400.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3945, allocations: 1.125 kB / 400.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3945, allocations: 0 / 400.5 MB, free: 7.137 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.001947/0.3965, allocations: 488.9 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3965, allocations: 13.61 kB / 401 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.398, allocations: 178.9 kB / 401.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3983, allocations: 156.8 kB / 401.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3984, allocations: 12.83 kB / 401.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.3984, allocations: 6.906 kB / 401.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.399, allocations: 180.2 kB / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.399, allocations: 0 / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.3991, allocations: 0 / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.3991, allocations: 7.422 kB / 401.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.3996, allocations: 170.7 kB / 401.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.4008, allocations: 0.524 MB / 402.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.4012, allocations: 154 kB / 402.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4015, allocations: 95.89 kB / 402.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.4015, allocations: 1.156 kB / 402.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.4015, allocations: 35.56 kB / 402.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.4015, allocations: 1.312 kB / 402.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008765/0.4024, allocations: 259.9 kB / 402.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4025, allocations: 56.56 kB / 402.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4027, allocations: 190.9 kB / 403 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4027, allocations: 26.89 kB / 403 MB, free: 5.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.4028, allocations: 119.6 kB / 403.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.4028, allocations: 40.53 kB / 403.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.4029, allocations: 34.53 kB / 403.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.403, allocations: 326.9 kB / 403.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4032, allocations: 70.8 kB / 403.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4034, allocations: 87.58 kB / 403.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.4038, allocations: 173.7 kB / 403.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4038, allocations: 1.188 kB / 403.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005578/0.4044, allocations: 212.6 kB / 404.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4044, allocations: 9.25 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4044, allocations: 1.156 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.4045, allocations: 1.125 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.4048, allocations: 34.69 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.4048, allocations: 5.609 kB / 404.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4049, allocations: 21.08 kB / 404.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.405, allocations: 10.52 kB / 404.2 MB, free: 4.848 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.0001277/0.4051, allocations: 126.8 kB / 404.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.4051, allocations: 18.22 kB / 404.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.4059, allocations: 253.3 kB / 404.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4059, allocations: 5.438 kB / 404.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4059, allocations: 0 / 404.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4059, allocations: 6.25 kB / 404.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.4063, allocations: 241.7 kB / 404.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4063, allocations: 0 / 404.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.4065, allocations: 37.97 kB / 404.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4065, allocations: 3.938 kB / 404.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4066, allocations: 8.141 kB / 404.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4066, allocations: 0 / 404.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4066, allocations: 2.547 kB / 404.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.4072, allocations: 324 kB / 405.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.4072, allocations: 23.12 kB / 405.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.4072, allocations: 5.391 kB / 405.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4074, allocations: 12.64 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.4075, allocations: 12.69 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.4075, allocations: 9.453 kB / 405.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.4077, allocations: 145.3 kB / 405.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4077, allocations: 5.219 kB / 405.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.408, allocations: 26.25 kB / 405.4 MB, free: 4.043 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.0001335/0.4081, allocations: 103.6 kB / 405.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.4087, allocations: 168.8 kB / 405.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.4087, allocations: 7.938 kB / 405.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.409, allocations: 89.56 kB / 405.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.4093, allocations: 16.33 kB / 405.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.41, allocations: 324.1 kB / 406.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4103, allocations: 0.7243 MB / 406.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.4105, allocations: 36.47 kB / 406.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.4106, allocations: 27.47 kB / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4106, allocations: 0 / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of Templates: time 0.006756/0.4173, allocations: 2.068 MB / 408.9 MB, free: 2.414 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 5.317639165557921]